* [linux-stable-rc:linux-3.18.y 2411/2632] crypto/algif_hash.c:350:13: warning: initialization from incompatible pointer type
@ 2016-06-20 11:16 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-06-20 11:16 UTC (permalink / raw)
Cc: kbuild-all, Sasha Levin, Joe Perches, Andrew Morton,
Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3812 bytes --]
Hi,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.18.y
head: b5076139991c6b12c62346d9880eec1d4227d99f
commit: 677fa15cd6d5b0843e7b9c58409f67d656b1ec2f [2411/2632] compiler-gcc: integrate the various compiler-gcc[345].h files
config: i386-randconfig-s1-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
git checkout 677fa15cd6d5b0843e7b9c58409f67d656b1ec2f
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
>> crypto/algif_hash.c:350:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.sendmsg = hash_sendmsg_nokey,
^~~~~~~~~~~~~~~~~~
crypto/algif_hash.c:350:13: note: (near initialization for 'algif_hash_ops_nokey.sendmsg')
crypto/algif_hash.c:352:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.recvmsg = hash_recvmsg_nokey,
^~~~~~~~~~~~~~~~~~
crypto/algif_hash.c:352:13: note: (near initialization for 'algif_hash_ops_nokey.recvmsg')
--
drivers/usb/gadget/legacy/inode.c: In function 'ep_aio_rwtail':
>> drivers/usb/gadget/legacy/inode.c:648:10: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
return value;
^~~~~
--
In file included from fs/f2fs/segment.c:20:0:
fs/f2fs/segment.c: In function 'flush_sit_entries':
>> fs/f2fs/f2fs.h:956:3: warning: 'page' may be used uninitialized in this function [-Wmaybe-uninitialized]
unlock_page(page);
^~~~~~~~~~~~~~~~~
fs/f2fs/segment.c:1690:16: note: 'page' was declared here
struct page *page;
^~~~
vim +350 crypto/algif_hash.c
cec8983e Herbert Xu 2016-01-08 334 static struct proto_ops algif_hash_ops_nokey = {
cec8983e Herbert Xu 2016-01-08 335 .family = PF_ALG,
cec8983e Herbert Xu 2016-01-08 336
cec8983e Herbert Xu 2016-01-08 337 .connect = sock_no_connect,
cec8983e Herbert Xu 2016-01-08 338 .socketpair = sock_no_socketpair,
cec8983e Herbert Xu 2016-01-08 339 .getname = sock_no_getname,
cec8983e Herbert Xu 2016-01-08 340 .ioctl = sock_no_ioctl,
cec8983e Herbert Xu 2016-01-08 341 .listen = sock_no_listen,
cec8983e Herbert Xu 2016-01-08 342 .shutdown = sock_no_shutdown,
cec8983e Herbert Xu 2016-01-08 343 .getsockopt = sock_no_getsockopt,
cec8983e Herbert Xu 2016-01-08 344 .mmap = sock_no_mmap,
cec8983e Herbert Xu 2016-01-08 345 .bind = sock_no_bind,
cec8983e Herbert Xu 2016-01-08 346 .setsockopt = sock_no_setsockopt,
cec8983e Herbert Xu 2016-01-08 347 .poll = sock_no_poll,
cec8983e Herbert Xu 2016-01-08 348
cec8983e Herbert Xu 2016-01-08 349 .release = af_alg_release,
cec8983e Herbert Xu 2016-01-08 @350 .sendmsg = hash_sendmsg_nokey,
cec8983e Herbert Xu 2016-01-08 351 .sendpage = hash_sendpage_nokey,
cec8983e Herbert Xu 2016-01-08 352 .recvmsg = hash_recvmsg_nokey,
cec8983e Herbert Xu 2016-01-08 353 .accept = hash_accept_nokey,
cec8983e Herbert Xu 2016-01-08 354 };
cec8983e Herbert Xu 2016-01-08 355
fe869cdb Herbert Xu 2010-10-19 356 static void *hash_bind(const char *name, u32 type, u32 mask)
fe869cdb Herbert Xu 2010-10-19 357 {
cec8983e Herbert Xu 2016-01-08 358 struct algif_hash_tfm *tfm;
:::::: The code at line 350 was first introduced by commit
:::::: cec8983e6d2cf52e60cd59583ae30f81f923f563 crypto: algif_hash - Require setkey before accept(2)
:::::: TO: Herbert Xu <herbert@gondor.apana.org.au>
:::::: CC: Sasha Levin <sasha.levin@oracle.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24477 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-20 11:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 11:16 [linux-stable-rc:linux-3.18.y 2411/2632] crypto/algif_hash.c:350:13: warning: initialization from incompatible pointer type kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).