Since kernel 4.4 I'm having the following errors
Code
home/userssh/media_build_experimental/v4l/saa716x_priv.h:39:11: note: in expansion of macro 'KERN_ERR'
printk(KERN_ERR "%s (%d): " __fmt "\n" , __func__ , SAA716x_DEV , ##__arg); \
^
/home/userssh/media_build_experimental/v4l/saa716x_rom.c:270:3: note: in expansion of macro 'dprintk'
dprintk(SAA716x_ERROR, 1,
^
include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:12:21: note: in expansion of macro 'KERN_SOH'
#define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
^
/home/userssh/media_build_experimental/v4l/saa716x_priv.h:41:11: note: in expansion of macro 'KERN_NOTICE'
printk(KERN_NOTICE "%s (%d): " __fmt "\n" , __func__ , SAA716x_DEV , ##__arg); \
^
/home/userssh/media_build_experimental/v4l/saa716x_rom.c:270:3: note: in expansion of macro 'dprintk'
dprintk(SAA716x_ERROR, 1,
^
include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
#define KERN_INFO KERN_SOH "6" /* informational */
^
/home/userssh/media_build_experimental/v4l/saa716x_priv.h:43:11: note: in expansion of macro 'KERN_INFO'
printk(KERN_INFO "%s (%d): " __fmt "\n" , __func__ , SAA716x_DEV , ##__arg); \
^
/home/userssh/media_build_experimental/v4l/saa716x_rom.c:270:3: note: in expansion of macro 'dprintk'
dprintk(SAA716x_ERROR, 1,
^
include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:14:20: note: in expansion of macro 'KERN_SOH'
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
Alles anzeigen
the code is too long, so you can follow It in http://pastebin.com/7ii94LwQ
Any idea? Thanks for your help