Hi,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
url:
https://github.com/0day-ci/linux/commits/mohammad-athari-ismail-intel-com...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
d310ec03a34e92a77302edb804f7d68ee4f01ba0
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.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/e50ee25914bd48b315d2d16e236ac23e6...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
mohammad-athari-ismail-intel-com/net-stmmac-support-FPE-link-partner-hand-shaking-procedure/20210310-120756
git checkout e50ee25914bd48b315d2d16e236ac23e63d2842b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/err.h:5,
from include/linux/clk.h:12,
from drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:17:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/m68k/include/asm/page_mm.h:174:49: warning: ordered comparison of pointer with
null pointer [-Wextra]
174 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET
&& (void *)(kaddr) < high_memory)
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON'
137 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:137:10: note: in expansion of macro
'virt_addr_valid'
137 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: At top level:
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:925:6: warning:
no previous prototype for 'stmmac_fpe_link_state_handle' [-Wmissing-prototypes]
925 | void stmmac_fpe_link_state_handle(struct stmmac_priv *priv, bool is_up)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4167:6:
warning: no previous prototype for 'stmmac_fpe_event_status'
[-Wmissing-prototypes]
4167 | void stmmac_fpe_event_status(struct stmmac_priv
*priv, int status)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/stmmac_fpe_link_state_handle +925 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
924
925 void stmmac_fpe_link_state_handle(struct stmmac_priv *priv, bool
is_up)
926 {
927 struct stmmac_fpe_cfg *fpe_cfg = &priv->plat->fpe_cfg;
928 enum stmmac_fpe_state *lo_state = &fpe_cfg->lo_fpe_state;
929 enum stmmac_fpe_state *lp_state = &fpe_cfg->lp_fpe_state;
930 bool *hs_enable = &fpe_cfg->hs_enable;
931
932 if (is_up && *hs_enable) {
933 stmmac_fpe_send_mpacket(priv, priv->ioaddr, MPACKET_VERIFY);
934 } else {
935 *lo_state = FPE_EVENT_UNKNOWN;
936 *lp_state = FPE_EVENT_UNKNOWN;
937 }
938 }
939
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org