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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.7 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top