From: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, Sasha Levin <sasha.levin@oracle.com>,
Joe Perches <joe@perches.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-stable-rc:linux-3.18.y 2411/2632] crypto/algif_hash.c:350:13: warning: initialization from incompatible pointer type
Date: Mon, 20 Jun 2016 19:16:07 +0800 [thread overview]
Message-ID: <201606201904.M19HOvRB%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2016-06-20 11:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201606201904.M19HOvRB%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=joe@perches.com \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=sasha.levin@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox