[driver-core:debugfs_cleanup 133/139] drivers/crypto/nx/nx_debugfs.c:51:19: error: void value not ignored as it ought to be

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Jun 14 13:52:16 UTC 2019


On Fri, Jun 14, 2019 at 08:18:57PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
> head:   27d0b4c0cd182361a817b61e9329ffcfea4edca7
> commit: 1bb8a20835fa47c2d4507b092e0f8b9423e16d18 [133/139] debugfs: remove return value of debugfs_create_u32()
> config: powerpc-defconfig (attached as .config)
> compiler: powerpc64-linux-gcc (GCC) 7.4.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 1bb8a20835fa47c2d4507b092e0f8b9423e16d18
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=powerpc 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp at intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/crypto/nx/nx_debugfs.c: In function 'nx_debugfs_init':
> >> drivers/crypto/nx/nx_debugfs.c:51:19: error: void value not ignored as it ought to be
>      dfs->dfs_aes_ops =
>                       ^
>    drivers/crypto/nx/nx_debugfs.c:55:22: error: void value not ignored as it ought to be
>      dfs->dfs_sha256_ops =
>                          ^
>    drivers/crypto/nx/nx_debugfs.c:60:22: error: void value not ignored as it ought to be
>      dfs->dfs_sha512_ops =
>                          ^
>    drivers/crypto/nx/nx_debugfs.c:80:18: error: void value not ignored as it ought to be
>      dfs->dfs_errors =
>                      ^
>    drivers/crypto/nx/nx_debugfs.c:84:22: error: void value not ignored as it ought to be
>      dfs->dfs_last_error =
>                          ^
>    drivers/crypto/nx/nx_debugfs.c:89:26: error: void value not ignored as it ought to be
>      dfs->dfs_last_error_pid =
>                              ^

Ugh, grep didn't catch these, now fixed in my local tree.

thanks,

greg k-h


More information about the devel mailing list