@@ -133,7 +133,7 @@ EXPORT_SYMBOL(match_token);
133
133
* as a number in that base.
134
134
*
135
135
* Return: On success, sets @result to the integer represented by the
136
- * string and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
136
+ * string and returns 0. Returns -EINVAL or -ERANGE on failure.
137
137
*/
138
138
static int match_number (substring_t * s , int * result , int base )
139
139
{
@@ -165,7 +165,7 @@ static int match_number(substring_t *s, int *result, int base)
165
165
* as a number in that base.
166
166
*
167
167
* Return: On success, sets @result to the integer represented by the
168
- * string and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
168
+ * string and returns 0. Returns -EINVAL or -ERANGE on failure.
169
169
*/
170
170
static int match_u64int (substring_t * s , u64 * result , int base )
171
171
{
@@ -189,7 +189,7 @@ static int match_u64int(substring_t *s, u64 *result, int base)
189
189
* Description: Attempts to parse the &substring_t @s as a decimal integer.
190
190
*
191
191
* Return: On success, sets @result to the integer represented by the string
192
- * and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
192
+ * and returns 0. Returns -EINVAL or -ERANGE on failure.
193
193
*/
194
194
int match_int (substring_t * s , int * result )
195
195
{
@@ -205,7 +205,7 @@ EXPORT_SYMBOL(match_int);
205
205
* Description: Attempts to parse the &substring_t @s as a decimal integer.
206
206
*
207
207
* Return: On success, sets @result to the integer represented by the string
208
- * and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
208
+ * and returns 0. Returns -EINVAL or -ERANGE on failure.
209
209
*/
210
210
int match_uint (substring_t * s , unsigned int * result )
211
211
{
@@ -228,7 +228,7 @@ EXPORT_SYMBOL(match_uint);
228
228
* integer.
229
229
*
230
230
* Return: On success, sets @result to the integer represented by the string
231
- * and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
231
+ * and returns 0. Returns -EINVAL or -ERANGE on failure.
232
232
*/
233
233
int match_u64 (substring_t * s , u64 * result )
234
234
{
@@ -244,7 +244,7 @@ EXPORT_SYMBOL(match_u64);
244
244
* Description: Attempts to parse the &substring_t @s as an octal integer.
245
245
*
246
246
* Return: On success, sets @result to the integer represented by the string
247
- * and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
247
+ * and returns 0. Returns -EINVAL or -ERANGE on failure.
248
248
*/
249
249
int match_octal (substring_t * s , int * result )
250
250
{
@@ -260,7 +260,7 @@ EXPORT_SYMBOL(match_octal);
260
260
* Description: Attempts to parse the &substring_t @s as a hexadecimal integer.
261
261
*
262
262
* Return: On success, sets @result to the integer represented by the string
263
- * and returns 0. Returns -ENOMEM, - EINVAL, or -ERANGE on failure.
263
+ * and returns 0. Returns -EINVAL or -ERANGE on failure.
264
264
*/
265
265
int match_hex (substring_t * s , int * result )
266
266
{
0 commit comments