From: kbuild test robot <lkp@intel.com>
To: Yeshaswi M R Gowda <yeshaswi@chelsio.com>
Cc: kbuild-all@01.org, hariprasad@chelsio.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
herbert@gondor.apana.org.au, davem@davemloft.net,
linux-crypto@vger.kernel.org, jlulla@chelsio.com,
atul.gupta@chelsio.com, harsh@chelsio.com,
Yeshaswi M R Gowda <yeshaswi@chelsio.com>
Subject: Re: [PATCH 3/3] crypto: Added Chelsio Menu to the Kconfig file
Date: Tue, 12 Jul 2016 08:14:19 +0800 [thread overview]
Message-ID: <201607120827.ctrWSxYb%fengguang.wu@intel.com> (raw)
In-Reply-To: <1468261688-24525-4-git-send-email-yeshaswi@chelsio.com>
[-- Attachment #1: Type: text/plain, Size: 4873 bytes --]
Hi,
[auto build test WARNING on net-next/master]
[also build test WARNING on v4.7-rc7 next-20160711]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Yeshaswi-M-R-Gowda/crypto-chcr-Add-Chelsio-Crypto-Driver/20160712-023513
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/crypto/chelsio/chcr_core.c: In function 'cpl_fw6_pld_handler':
>> drivers/crypto/chelsio/chcr_core.c:134:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
req = (struct crypto_async_request *)cookie;
^
--
In file included from include/linux/swab.h:4:0,
from include/uapi/linux/byteorder/little_endian.h:12,
from include/linux/byteorder/little_endian.h:4,
from arch/x86/include/uapi/asm/byteorder.h:4,
from include/asm-generic/bitops/le.h:5,
from arch/x86/include/asm/bitops.h:504,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from drivers/crypto/chelsio/chcr_algo.c:42:
drivers/crypto/chelsio/chcr_algo.c: In function 'create_wreq':
>> drivers/crypto/chelsio/chcr_algo.c:454:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
wreq->cookie = cpu_to_be64((u64)req);
^
include/uapi/linux/swab.h:126:54: note: in definition of macro '__swab64'
#define __swab64(x) (__u64)__builtin_bswap64((__u64)(x))
^
>> include/linux/byteorder/generic.h:91:21: note: in expansion of macro '__cpu_to_be64'
#define cpu_to_be64 __cpu_to_be64
^~~~~~~~~~~~~
>> drivers/crypto/chelsio/chcr_algo.c:454:17: note: in expansion of macro 'cpu_to_be64'
wreq->cookie = cpu_to_be64((u64)req);
^~~~~~~~~~~
drivers/crypto/chelsio/chcr_algo.c: In function 'chcr_register_alg':
>> drivers/crypto/chelsio/chcr_algo.c:1471:48: warning: operation on 'driver_algs[i].alg.hash.halg.base.cra_init' may be undefined [-Wsequence-point]
driver_algs[i].alg.hash.halg.base.cra_init =
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
driver_algs[i].alg.hash.halg.base.cra_init =
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
chcr_hmac_cra_init;
~~~~~~~~~~~~~~~~~~
vim +134 drivers/crypto/chelsio/chcr_core.c
5c923415 Yeshaswi M R Gowda 2016-07-11 118 u_ctx->dev = NULL;
5c923415 Yeshaswi M R Gowda 2016-07-11 119 atomic_dec(&dev_count);
5c923415 Yeshaswi M R Gowda 2016-07-11 120 return 0;
5c923415 Yeshaswi M R Gowda 2016-07-11 121 }
5c923415 Yeshaswi M R Gowda 2016-07-11 122
5c923415 Yeshaswi M R Gowda 2016-07-11 123 static int cpl_fw6_pld_handler(struct chcr_dev *dev,
5c923415 Yeshaswi M R Gowda 2016-07-11 124 unsigned char *input)
5c923415 Yeshaswi M R Gowda 2016-07-11 125 {
5c923415 Yeshaswi M R Gowda 2016-07-11 126 struct crypto_async_request *req;
5c923415 Yeshaswi M R Gowda 2016-07-11 127 struct cpl_fw6_pld *fw6_pld;
5c923415 Yeshaswi M R Gowda 2016-07-11 128 u64 cookie;
5c923415 Yeshaswi M R Gowda 2016-07-11 129 u32 ack_err_status = 0;
5c923415 Yeshaswi M R Gowda 2016-07-11 130 int error_status = 0;
5c923415 Yeshaswi M R Gowda 2016-07-11 131
5c923415 Yeshaswi M R Gowda 2016-07-11 132 fw6_pld = (struct cpl_fw6_pld *)input;
5c923415 Yeshaswi M R Gowda 2016-07-11 133 cookie = be64_to_cpu(fw6_pld->data[1]);
5c923415 Yeshaswi M R Gowda 2016-07-11 @134 req = (struct crypto_async_request *)cookie;
5c923415 Yeshaswi M R Gowda 2016-07-11 135
5c923415 Yeshaswi M R Gowda 2016-07-11 136 ack_err_status =
5c923415 Yeshaswi M R Gowda 2016-07-11 137 ntohl(*(__be32 *)((unsigned char *)&fw6_pld->data[0] + 4));
5c923415 Yeshaswi M R Gowda 2016-07-11 138 if (ack_err_status) {
5c923415 Yeshaswi M R Gowda 2016-07-11 139 if (CHK_MAC_ERR_BIT(ack_err_status) ||
5c923415 Yeshaswi M R Gowda 2016-07-11 140 CHK_PAD_ERR_BIT(ack_err_status))
5c923415 Yeshaswi M R Gowda 2016-07-11 141 error_status = -EINVAL;
5c923415 Yeshaswi M R Gowda 2016-07-11 142 }
:::::: The code at line 134 was first introduced by commit
:::::: 5c9234157776103907606c9f4c93a311467e246f chcr: Support for Chelsio's Crypto Hardware
:::::: TO: Yeshaswi M R Gowda <yeshaswi@chelsio.com>
:::::: CC: 0day robot <fengguang.wu@intel.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: 55097 bytes --]
next prev parent reply other threads:[~2016-07-12 0:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 18:28 [PATCH 0/3] crypto/chcr: Add Chelsio Crypto Driver Yeshaswi M R Gowda
2016-07-11 18:28 ` [PATCH 1/3] cxgb4: Add Chelsio LLD support Chelsio Crypto ULD Yeshaswi M R Gowda
2016-07-11 18:28 ` [PATCH 2/3] chcr: Support for Chelsio's Crypto Hardware Yeshaswi M R Gowda
2016-07-11 18:57 ` Joe Perches
2016-07-12 8:35 ` Herbert Xu
2016-07-11 18:28 ` [PATCH 3/3] crypto: Added Chelsio Menu to the Kconfig file Yeshaswi M R Gowda
2016-07-11 19:30 ` kbuild test robot
2016-07-12 8:44 ` Herbert Xu
2016-07-12 0:14 ` kbuild test robot [this message]
2016-07-12 4:36 ` kbuild test robot
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=201607120827.ctrWSxYb%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=atul.gupta@chelsio.com \
--cc=davem@davemloft.net \
--cc=hariprasad@chelsio.com \
--cc=harsh@chelsio.com \
--cc=herbert@gondor.apana.org.au \
--cc=jlulla@chelsio.com \
--cc=kbuild-all@01.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yeshaswi@chelsio.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;
as well as URLs for NNTP newsgroup(s).