On Tue, Dec 19, 2017 at 11:02:33PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
> staging-testing
> head:   893b103a3e9ce255e9afe8103d90f28ac2124eb8
> commit: 3f268f5d6669b61e38ad65095480cdf80389ae40 [284/298] staging: ccree: 
> turn compile time debug log to params
> config: i386-randconfig-x073-201751 (attached as .config)
> compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
> reproduce:
>         git checkout 3f268f5d6669b61e38ad65095480cdf80389ae40
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All error/warnings (new ones prefixed by >>):
> 
> >> drivers/staging/ccree/ssi_driver.c:83:6: error: conflicting types for 
> >> '__dump_byte_array'
>     void __dump_byte_array(const char *name, const u8 *buf, size_t len)
>          ^~~~~~~~~~~~~~~~~
>    In file included from drivers/staging/ccree/ssi_driver.c:63:0:
>    drivers/staging/ccree/ssi_driver.h:175:6: note: previous declaration of 
> '__dump_byte_array' was here
>     void __dump_byte_array(const char *name, const u8 *the_array,
>          ^~~~~~~~~~~~~~~~~
>    drivers/staging/ccree/ssi_driver.c: In function '__dump_byte_array':
> >> drivers/staging/ccree/ssi_driver.c:90:41: warning: format '%lu' expects 
> >> argument of type 'long unsigned int', but argument 5 has type 'size_t {aka 
> >> unsigned int}' [-Wformat=]
>      snprintf(prefix, sizeof(prefix), "%s[%lu]: ", name, len);
>                                           ~~^
>                                           %u
> 

Gilad, can you send me a patch for this?  It should be pretty simple :)

thanks,

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to