hdparm-5.4-1 $ make gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o hdparm.o hdparm.c hdparm.c:55: `readahead' redeclared as different kind of symbol /usr/include/bits/fcntl.h:200: previous declaration of `readahead' hdparm.c:55: warning: `readahead' was declared `extern' and later `static' make: *** [hdparm.o] Error 1 The "readahead" variable clashes with the readahead function. Patch attached.
Created attachment 124308 [details] hdparm-readahead.patch
This obviously doesn't qualify for inclusion in a quarterly update, but I'll keep it around as DEFERRED just in case an erratum needs to be done.