https://github.com/torvalds/linux
Revision 7cbe1ceeb6ab2e4bc334b3dab3254d4414b72a23 authored by Chris Peterson on 21 September 2011, 13:52:09 UTC, committed by Guenter Roeck on 22 September 2011, 00:25:18 UTC
gcc -Wextra warns "register is not at beginning of declaration" because the
compiler thinks the parameter has been marked as a 'register' variable, but
the function prototype intended to name the parameter "register" (which is a
reserved keyword).

Signed-off-by: Chris Peterson <cpeterso@cpeterso.com>
Acked-by: Marc Hulsman <m.hulsman@tudelft.nl>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
1 parent f4af6fd
History
Tip revision: 7cbe1ceeb6ab2e4bc334b3dab3254d4414b72a23 authored by Chris Peterson on 21 September 2011, 13:52:09 UTC
hwmon: (w83791d) rename prototype parameter from 'register' to 'reg'
Tip revision: 7cbe1ce
File Mode Size
Makefile -rw-r--r-- 394 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.1 KB
ipc_sysctl.c -rw-r--r-- 6.0 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 30.5 KB
msg.c -rw-r--r-- 20.9 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 4.3 KB
sem.c -rw-r--r-- 40.4 KB
shm.c -rw-r--r-- 29.1 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 22.8 KB
util.h -rw-r--r-- 5.3 KB

back to top