Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: pohmelfs: Storage class should be before const qualifier

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Tobias Klauser and committed by
Greg Kroah-Hartman
80fe3e5d dc828461

+1 -1
+1 -1
drivers/staging/pohmelfs/inode.c
··· 943 943 return ret; 944 944 } 945 945 946 - const static struct file_operations pohmelfs_file_ops = { 946 + static const struct file_operations pohmelfs_file_ops = { 947 947 .open = generic_file_open, 948 948 .fsync = pohmelfs_fsync, 949 949