diff options
Diffstat (limited to 'fs/configfs/item.c')
| -rw-r--r-- | fs/configfs/item.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/configfs/item.c b/fs/configfs/item.c index 704a4356f137..c378b5cbf87d 100644 --- a/fs/configfs/item.c +++ b/fs/configfs/item.c @@ -1,7 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -/* -*- mode: c; c-basic-offset: 8; -*- - * vim: noexpandtab sw=8 ts=8 sts=0: - * +/* * item.c - library routines for handling generic config items * * Based on kobject: @@ -68,7 +66,7 @@ int config_item_set_name(struct config_item *item, const char *fmt, ...) name = kvasprintf(GFP_KERNEL, fmt, args); va_end(args); if (!name) - return -EFAULT; + return -ENOMEM; } /* Free the old name, if necessary. */ |
