]> git.baikalelectronics.ru Git - kernel.git/commit
hexagon: fix printk format warning in setup.c
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 14 Jun 2018 22:28:09 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Jun 2018 22:55:25 +0000 (07:55 +0900)
commitbc01460a7b5a4460411a13eb56ca6d7cc88778c7
tree8f264b57d847d945182674a71b32f377e6919eba
parentadaaa9294d1d81403c4f4912d5b14648630cdd7f
hexagon: fix printk format warning in setup.c

Fix printk format warning in hexagon/kernel/setup.c:

../arch/hexagon/kernel/setup.c: In function 'setup_arch':
../arch/hexagon/kernel/setup.c:69:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]

where:
extern unsigned long __phys_offset;
#define PHYS_OFFSET __phys_offset

Link: http://lkml.kernel.org/r/adce8db5-4b01-dc10-7fbb-6a64e0787eb5@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/hexagon/kernel/setup.c