459e3a2153
The pvlock_page and hvclock_page variables are (as the name implies) addresses to pages, created by the linker script. But we declared them as just "extern u8" variables, which _works_, but now that gcc does some more bounds checking, it causes warnings like warning: array subscript 1 is outside array bounds of ‘u8[1]’ when we then access more than one byte from those variables. Fix this by simply making the declaration of the variables match reality, which makes the compiler happy too. Signed-off-by: Linus Torvalds <torvalds@-linux-foundation.org> |
||
---|---|---|
.. | ||
vdso32 | ||
.gitignore | ||
Makefile | ||
checkundef.sh | ||
vclock_gettime.c | ||
vdso-layout.lds.S | ||
vdso-note.S | ||
vdso.lds.S | ||
vdso2c.c | ||
vdso2c.h | ||
vdso32-setup.c | ||
vdsox32.lds.S | ||
vgetcpu.c | ||
vma.c |