From: kernel test robot <lkp@intel.com>
To: tien.sung.ang@intel.com, Dinh Nguyen <dinguyen@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Ang Tien Sung <tien.sung.ang@intel.com>
Subject: Re: [PATCH 3/3] firmware: stratix10-svc: add new FCS commands
Date: Mon, 14 Mar 2022 12:52:49 +0800 [thread overview]
Message-ID: <202203141217.H2LzQEuO-lkp@intel.com> (raw)
In-Reply-To: <20220314102807.1746893-1-tien.sung.ang@intel.com>
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linux/master]
[also build test WARNING on linus/master v5.17-rc8]
[cannot apply to next-20220310]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/tien-sung-ang-intel-com/firmware-stratix10-svc-Add-new-FCS-support/20220314-102938
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2c271fe77d52a0555161926c232cd5bc07178b39
config: h8300-allyesconfig (https://download.01.org/0day-ci/archive/20220314/202203141217.H2LzQEuO-lkp@intel.com/config)
compiler: h8300-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/21427534c2a95b30f967d178ee997d8ca94b34e6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review tien-sung-ang-intel-com/firmware-stratix10-svc-Add-new-FCS-support/20220314-102938
git checkout 21427534c2a95b30f967d178ee997d8ca94b34e6
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/net/ethernet/stmicro/stmmac/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/mfd/altera-sysmgr.h:13,
from drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:7:
include/linux/firmware/intel/stratix10-smc.h:406:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'INTEL_SIP_SMC_SERVICE_COMPLETED'
406 | * Request INTEL_SIP_SMC_SERVICE_COMPLETED
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/firmware/intel/stratix10-smc.h:406:12: error: unknown type name 'INTEL_SIP_SMC_SERVICE_COMPLETED'
In file included from drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:7:
>> include/linux/mfd/altera-sysmgr.h:22:45: warning: 'struct device_node' declared inside parameter list will not be visible outside of this definition or declaration
22 | altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
| ^~~~~~~~~~~
In file included from include/linux/err.h:5,
from include/linux/mfd/altera-sysmgr.h:11,
from drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:7:
include/linux/scatterlist.h: In function 'sg_set_buf':
include/asm-generic/page.h:89:51: warning: ordered comparison of pointer with null pointer [-Wextra]
89 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:160:9: note: in expansion of macro 'BUG_ON'
160 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:160:17: note: in expansion of macro 'virt_addr_valid'
160 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c: In function 'socfpga_dwmac_parse_data':
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:113:54: error: passing argument 1 of 'altr_sysmgr_regmap_lookup_by_phandle' from incompatible pointer type [-Werror=incompatible-pointer-types]
113 | altr_sysmgr_regmap_lookup_by_phandle(np, "altr,sysmgr-syscon");
| ^~
| |
| struct device_node *
In file included from drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:7:
include/linux/mfd/altera-sysmgr.h:22:58: note: expected 'struct device_node *' but argument is of type 'struct device_node *'
22 | altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
| ~~~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
vim +22 include/linux/mfd/altera-sysmgr.h
f36e789a1f8d0b Thor Thayer 2019-03-11 10
f36e789a1f8d0b Thor Thayer 2019-03-11 11 #include <linux/err.h>
f36e789a1f8d0b Thor Thayer 2019-03-11 12 #include <linux/errno.h>
f36e789a1f8d0b Thor Thayer 2019-03-11 @13 #include <linux/firmware/intel/stratix10-smc.h>
f36e789a1f8d0b Thor Thayer 2019-03-11 14
f36e789a1f8d0b Thor Thayer 2019-03-11 15 struct device_node;
f36e789a1f8d0b Thor Thayer 2019-03-11 16
f36e789a1f8d0b Thor Thayer 2019-03-11 17 #ifdef CONFIG_MFD_ALTERA_SYSMGR
f36e789a1f8d0b Thor Thayer 2019-03-11 18 struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
f36e789a1f8d0b Thor Thayer 2019-03-11 19 const char *property);
f36e789a1f8d0b Thor Thayer 2019-03-11 20 #else
f36e789a1f8d0b Thor Thayer 2019-03-11 21 static inline struct regmap *
f36e789a1f8d0b Thor Thayer 2019-03-11 @22 altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
f36e789a1f8d0b Thor Thayer 2019-03-11 23 const char *property)
f36e789a1f8d0b Thor Thayer 2019-03-11 24 {
f36e789a1f8d0b Thor Thayer 2019-03-11 25 return ERR_PTR(-ENOTSUPP);
f36e789a1f8d0b Thor Thayer 2019-03-11 26 }
f36e789a1f8d0b Thor Thayer 2019-03-11 27 #endif
f36e789a1f8d0b Thor Thayer 2019-03-11 28
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-03-14 4:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 10:28 [PATCH 3/3] firmware: stratix10-svc: add new FCS commands tien.sung.ang
2022-03-14 4:52 ` kernel test robot [this message]
2022-03-14 5:03 ` kernel test robot
2022-03-14 6:24 ` kernel 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=202203141217.H2LzQEuO-lkp@intel.com \
--to=lkp@intel.com \
--cc=dinguyen@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tien.sung.ang@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.