Re: [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions
by kernel test robot
Hi Jani,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master drm-exynos/exynos-drm-next v5.9-rc5 next-20200917]
[cannot apply to drm/drm-next]
[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/Jani-Nikula/drm-dp-add-subheadin...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: nds32-randconfig-p001-20200917 (attached as .config)
compiler: nds32le-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
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 drivers/gpu/drm/drm_crtc_helper_internal.h:31,
from drivers/gpu/drm/drm_crtc_helper.c:51:
>> include/drm/drm_dp_helper.h:640: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_MASK" redefined
640 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 4)
|
include/drm/drm_dp_helper.h:638: note: this is the location of the previous definition
638 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 0)
|
>> include/drm/drm_dp_helper.h:641: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT" redefined
641 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
|
include/drm/drm_dp_helper.h:639: note: this is the location of the previous definition
639 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
|
--
In file included from include/drm/drm_dp_mst_helper.h:26,
from drivers/gpu/drm/drm_dp_mst_topology.c:43:
>> include/drm/drm_dp_helper.h:640: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_MASK" redefined
640 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 4)
|
include/drm/drm_dp_helper.h:638: note: this is the location of the previous definition
638 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 0)
|
>> include/drm/drm_dp_helper.h:641: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT" redefined
641 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
|
include/drm/drm_dp_helper.h:639: note: this is the location of the previous definition
639 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
|
drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_send_query_stream_enc_status':
drivers/gpu/drm/drm_dp_mst_topology.c:3261:6: warning: variable 'len' set but not used [-Wunused-but-set-variable]
3261 | int len, ret;
| ^~~
--
In file included from drivers/gpu/drm/bridge/analogix/analogix_dp_core.h:13,
from drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:17:
>> include/drm/drm_dp_helper.h:640: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_MASK" redefined
640 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 4)
|
include/drm/drm_dp_helper.h:638: note: this is the location of the previous definition
638 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 0)
|
>> include/drm/drm_dp_helper.h:641: warning: "DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT" redefined
641 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
|
include/drm/drm_dp_helper.h:639: note: this is the location of the previous definition
639 | # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
|
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: warning: no previous prototype for 'analogix_dp_start_aux_transaction' [-Wmissing-prototypes]
527 | int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no previous prototype for 'analogix_dp_write_byte_to_dpcd' [-Wmissing-prototypes]
571 | int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/ee700fcadff2b9f1f941cd4af77242e51...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jani-Nikula/drm-dp-add-subheadings-to-DPCD-address-definitions/20200917-185206
git checkout ee700fcadff2b9f1f941cd4af77242e51a139649
vim +/DP_ADJUST_TX_FFE_PRESET_LANE0_MASK +640 include/drm/drm_dp_helper.h
636
637 /* DP 2.0 128b/132b Link Layer */
638 # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 0)
639 # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
> 640 # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK (0xf << 4)
> 641 # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
642
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH v5 4/5] ASoC: qcom: Add support for lpass hdmi driver
by kernel test robot
Hi Srinivasa,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on asoc/for-next]
[also build test ERROR on next-20200917]
[cannot apply to v5.9-rc5]
[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/Srinivasa-Rao-Mandadapu/Qualcomm...
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
sound/soc/qcom/lpass-platform.c: In function 'lpass_platform_pcmops_hw_params':
>> sound/soc/qcom/lpass-platform.c:240:17: warning: variable 'map' set but not used [-Wunused-but-set-variable]
240 | struct regmap *map;
| ^~~
At top level:
sound/soc/qcom/lpass-platform.c:794:20: warning: 'lpass_platform_hdmiif_irq' defined but not used [-Wunused-function]
794 | static irqreturn_t lpass_platform_hdmiif_irq(int irq, void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--
>> sound/soc/qcom/lpass-ipq806x.c:160:23: error: initialization of 'int (*)(struct lpass_data *, int, unsigned int)' from incompatible pointer type 'int (*)(struct lpass_data *, int)' [-Werror=incompatible-pointer-types]
160 | .alloc_dma_channel = ipq806x_lpass_alloc_dma_channel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/qcom/lpass-ipq806x.c:160:23: note: (near initialization for 'ipq806x_data.alloc_dma_channel')
sound/soc/qcom/lpass-ipq806x.c:161:22: error: initialization of 'int (*)(struct lpass_data *, int, unsigned int)' from incompatible pointer type 'int (*)(struct lpass_data *, int)' [-Werror=incompatible-pointer-types]
161 | .free_dma_channel = ipq806x_lpass_free_dma_channel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/qcom/lpass-ipq806x.c:161:22: note: (near initialization for 'ipq806x_data.free_dma_channel')
cc1: some warnings being treated as errors
--
>> sound/soc/qcom/lpass-apq8016.c:290:23: error: initialization of 'int (*)(struct lpass_data *, int, unsigned int)' from incompatible pointer type 'int (*)(struct lpass_data *, int)' [-Werror=incompatible-pointer-types]
290 | .alloc_dma_channel = apq8016_lpass_alloc_dma_channel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/qcom/lpass-apq8016.c:290:23: note: (near initialization for 'apq8016_data.alloc_dma_channel')
sound/soc/qcom/lpass-apq8016.c:291:22: error: initialization of 'int (*)(struct lpass_data *, int, unsigned int)' from incompatible pointer type 'int (*)(struct lpass_data *, int)' [-Werror=incompatible-pointer-types]
291 | .free_dma_channel = apq8016_lpass_free_dma_channel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/qcom/lpass-apq8016.c:291:22: note: (near initialization for 'apq8016_data.free_dma_channel')
cc1: some warnings being treated as errors
# https://github.com/0day-ci/linux/commit/36d10d78e631aecf445a62288278056d4...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Srinivasa-Rao-Mandadapu/Qualcomm-s-lpass-hdmi-ASoC-driver-to-support-audio-over-dp-port/20200917-214328
git checkout 36d10d78e631aecf445a62288278056d499bbee2
vim +160 sound/soc/qcom/lpass-ipq806x.c
6db1c6ba9544e99 Srinivas Kandagatla 2015-05-16 111
eccad574ef2d74e Lars-Peter Clausen 2015-07-27 112 static struct lpass_variant ipq806x_data = {
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 113 .i2sctrl_reg_base = 0x0010,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 114 .i2sctrl_reg_stride = 0x04,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 115 .i2s_ports = 5,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 116 .irq_reg_base = 0x3000,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 117 .irq_reg_stride = 0x1000,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 118 .irq_ports = 3,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 119 .rdma_reg_base = 0x6000,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 120 .rdma_reg_stride = 0x1000,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 121 .rdma_channels = 4,
0a14a1bf2e81a75 Srinivas Kandagatla 2016-02-11 122 .wrdma_reg_base = 0xB000,
0a14a1bf2e81a75 Srinivas Kandagatla 2016-02-11 123 .wrdma_reg_stride = 0x1000,
0a14a1bf2e81a75 Srinivas Kandagatla 2016-02-11 124 .wrdma_channel_start = 5,
0a14a1bf2e81a75 Srinivas Kandagatla 2016-02-11 125 .wrdma_channels = 4,
b5022a36d28f6a9 Rohit kumar 2020-08-14 126 .loopback = REG_FIELD_ID(0x0010, 15, 15, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 127 .spken = REG_FIELD_ID(0x0010, 14, 14, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 128 .spkmode = REG_FIELD_ID(0x0010, 10, 13, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 129 .spkmono = REG_FIELD_ID(0x0010, 9, 9, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 130 .micen = REG_FIELD_ID(0x0010, 8, 8, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 131 .micmode = REG_FIELD_ID(0x0010, 4, 7, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 132 .micmono = REG_FIELD_ID(0x0010, 3, 3, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 133 .wssrc = REG_FIELD_ID(0x0010, 2, 2, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 134 .bitwidth = REG_FIELD_ID(0x0010, 0, 0, 5, 0x4),
b5022a36d28f6a9 Rohit kumar 2020-08-14 135
b5022a36d28f6a9 Rohit kumar 2020-08-14 136 .rdma_dyncclk = REG_FIELD_ID(0x6000, 12, 12, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 137 .rdma_bursten = REG_FIELD_ID(0x6000, 11, 11, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 138 .rdma_wpscnt = REG_FIELD_ID(0x6000, 8, 10, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 139 .rdma_intf = REG_FIELD_ID(0x6000, 4, 7, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 140 .rdma_fifowm = REG_FIELD_ID(0x6000, 1, 3, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 141 .rdma_enable = REG_FIELD_ID(0x6000, 0, 0, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 142
b5022a36d28f6a9 Rohit kumar 2020-08-14 143 .wrdma_dyncclk = REG_FIELD_ID(0xB000, 12, 12, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 144 .wrdma_bursten = REG_FIELD_ID(0xB000, 11, 11, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 145 .wrdma_wpscnt = REG_FIELD_ID(0xB000, 8, 10, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 146 .wrdma_intf = REG_FIELD_ID(0xB000, 4, 7, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 147 .wrdma_fifowm = REG_FIELD_ID(0xB000, 1, 3, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 148 .wrdma_enable = REG_FIELD_ID(0xB000, 0, 0, 4, 0x1000),
b5022a36d28f6a9 Rohit kumar 2020-08-14 149
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 150 .dai_driver = &ipq806x_lpass_cpu_dai_driver,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 151 .num_dai = 1,
97c52eb969718f0 Linus Walleij 2017-04-05 152 .dai_osr_clk_names = (const char *[]) {
97c52eb969718f0 Linus Walleij 2017-04-05 153 "mi2s-osr-clk",
97c52eb969718f0 Linus Walleij 2017-04-05 154 },
97c52eb969718f0 Linus Walleij 2017-04-05 155 .dai_bit_clk_names = (const char *[]) {
97c52eb969718f0 Linus Walleij 2017-04-05 156 "mi2s-bit-clk",
97c52eb969718f0 Linus Walleij 2017-04-05 157 },
a503567d70eca91 Rohit kumar 2020-08-14 158 .init = ipq806x_lpass_init,
a503567d70eca91 Rohit kumar 2020-08-14 159 .exit = ipq806x_lpass_exit,
6db1c6ba9544e99 Srinivas Kandagatla 2015-05-16 @160 .alloc_dma_channel = ipq806x_lpass_alloc_dma_channel,
6db1c6ba9544e99 Srinivas Kandagatla 2015-05-16 161 .free_dma_channel = ipq806x_lpass_free_dma_channel,
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 162 };
9bae4880acee1cd Srinivas Kandagatla 2015-05-16 163
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH v11 4/5] security: keys: trusted: use ASN.1 TPM2 key format for the blobs
by Jarkko Sakkinen
On Sun, Sep 13, 2020 at 10:02:51AM -0700, James Bottomley wrote:
> On Sun, 2020-09-13 at 14:26 +0800, kernel test robot wrote:
> > Hi James,
> >
> > I love your patch! Yet something to improve:
> >
> > [auto build test ERROR on integrity/next-integrity]
> > [also build test ERROR on linus/master v5.9-rc4 next-20200911]
> > [cannot apply to security/next-testing dhowells-fs/fscache-next]
> > [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/James-Bottomley/TPM-
> > 2-0-trusted-key-rework/20200913-013201
> > base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-i
> > ntegrity.git next-integrity
> > config: arm-randconfig-r013-20200913 (attached as .config)
> > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project
> > 3170d54842655d6d936aae32b7d0bc92fce7f22e)
> > 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
> > # install arm cross compiling tool for clang build
> > # apt-get install binutils-arm-linux-gnueabi
> > # save the attached .config to linux build tree
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
> > ARCH=arm
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp(a)intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > > > security/keys/trusted-keys/trusted_tpm2.c:19:10: fatal error:
> > > > 'tpm2key.asn1.h' file not found
> >
> > #include "tpm2key.asn1.h"
> > ^~~~~~~~~~~~~~~~
> > 1 error generated.
>
> Do you have the actual build log for this? On x86 the build process
> builds any precursors first, which is the tpm2key.asn1.o, which
> generates that header file, so we see:
>
> ASN.1 security/keys/trusted-keys/tpm2key.asn1.[ch]
> CC [M] security/keys/trusted-keys/trusted_tpm2.o
> CC [M] security/keys/trusted-keys/tpm2-policy.o
> CC [M] security/keys/trusted-keys/tpm2key.asn1.o
> LD [M] security/keys/trusted-keys/trusted.o
>
> Is ARM doing a lazier version of that? In which case the fix might be
> to move trusted_tpm2.o to after tpm2key.asn1.o in the Makefile, this
> line:
>
> trusted-y += trusted_tpm2.o tpm2key.asn1.o
>
> James
You can try to reproduce the arm build with BuildRoot. That's what I
usually do when bumping something like this with arm.
/Jarkko
2 years
Re: [PATCH RFC 10/21] NFSD: Add client ID lifetime tracepoints
by kernel test robot
Hi Chuck,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on nfs/linux-next]
[also build test ERROR on tip/perf/core nfsd/nfsd-next v5.9-rc5 next-20200917]
[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/Chuck-Lever/NFSD-operation-monit...
base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: ia64-randconfig-c004-20200917 (attached as .config)
compiler: ia64-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/bvec.h:13,
from include/linux/skbuff.h:17,
from include/net/net_namespace.h:39,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:202,
from include/linux/nfs4.h:19,
from fs/nfsd/trace.c:3:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/nfs4.h:16,
from fs/nfsd/trace.c:3:
fs/nfsd/xdr4.h: In function 'set_change_info':
>> fs/nfsd/xdr4.h:769:13: error: 'struct svc_fh' has no member named 'fh_pre_saved'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
fs/nfsd/xdr4.h:769:2: note: in expansion of macro 'BUG_ON'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~~~~~
In file included from fs/nfsd/trace.h:14,
from fs/nfsd/trace.c:6:
>> fs/nfsd/xdr4.h:770:26: error: 'struct svc_fh' has no member named 'fh_post_saved'
770 | cinfo->atomic = (u32)fhp->fh_post_saved;
| ^~
>> fs/nfsd/xdr4.h:773:28: error: 'struct svc_fh' has no member named 'fh_pre_change'
773 | cinfo->before_change = fhp->fh_pre_change;
| ^~
>> fs/nfsd/xdr4.h:774:27: error: 'struct svc_fh' has no member named 'fh_post_change'
774 | cinfo->after_change = fhp->fh_post_change;
| ^~
>> fs/nfsd/xdr4.h:775:31: error: 'struct svc_fh' has no member named 'fh_pre_ctime'
775 | cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:776:32: error: 'struct svc_fh' has no member named 'fh_pre_ctime'
776 | cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
| ^~
>> fs/nfsd/xdr4.h:777:30: error: 'struct svc_fh' has no member named 'fh_post_attr'
777 | cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:778:31: error: 'struct svc_fh' has no member named 'fh_post_attr'
778 | cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
| ^~
--
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:9,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/namei.h:5,
from fs/nfsd/export.c:16:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/asm-generic/bug.h:5,
from arch/ia64/include/asm/bug.h:17,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from fs/nfsd/export.c:15:
fs/nfsd/xdr4.h: In function 'set_change_info':
>> fs/nfsd/xdr4.h:769:13: error: 'struct svc_fh' has no member named 'fh_pre_saved'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
fs/nfsd/xdr4.h:769:2: note: in expansion of macro 'BUG_ON'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~~~~~
In file included from fs/nfsd/trace.h:14,
from fs/nfsd/export.c:26:
>> fs/nfsd/xdr4.h:770:26: error: 'struct svc_fh' has no member named 'fh_post_saved'
770 | cinfo->atomic = (u32)fhp->fh_post_saved;
| ^~
>> fs/nfsd/xdr4.h:773:28: error: 'struct svc_fh' has no member named 'fh_pre_change'
773 | cinfo->before_change = fhp->fh_pre_change;
| ^~
>> fs/nfsd/xdr4.h:774:27: error: 'struct svc_fh' has no member named 'fh_post_change'
774 | cinfo->after_change = fhp->fh_post_change;
| ^~
>> fs/nfsd/xdr4.h:775:31: error: 'struct svc_fh' has no member named 'fh_pre_ctime'
775 | cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:776:32: error: 'struct svc_fh' has no member named 'fh_pre_ctime'
776 | cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
| ^~
>> fs/nfsd/xdr4.h:777:30: error: 'struct svc_fh' has no member named 'fh_post_attr'
777 | cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:778:31: error: 'struct svc_fh' has no member named 'fh_post_attr'
778 | cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
| ^~
fs/nfsd/export.c: In function 'exp_rootfh':
fs/nfsd/export.c:919:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable]
919 | struct inode *inode;
| ^~~~~
# https://github.com/0day-ci/linux/commit/f4af9425b245977b0986e67da605a5d16...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chuck-Lever/NFSD-operation-monitoring-tracepoints/20200917-062407
git checkout f4af9425b245977b0986e67da605a5d16665b0a9
vim +769 fs/nfsd/xdr4.h
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 765
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 766 static inline void
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 767 set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 768 {
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 @769 BUG_ON(!fhp->fh_pre_saved);
aaf91ec148910e0 fs/nfsd/xdr4.h Jeff Layton 2015-09-17 @770 cinfo->atomic = (u32)fhp->fh_post_saved;
2b0143b5c986be1 fs/nfsd/xdr4.h David Howells 2015-03-17 771 cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry));
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 772
c654b8a9cba6002 include/linux/nfsd/xdr4.h J. Bruce Fields 2009-04-16 @773 cinfo->before_change = fhp->fh_pre_change;
c654b8a9cba6002 include/linux/nfsd/xdr4.h J. Bruce Fields 2009-04-16 @774 cinfo->after_change = fhp->fh_post_change;
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 @775 cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 776 cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
40ee5dc6af351c1 include/linux/nfsd/xdr4.h Peter Staubach 2007-08-16 @777 cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
40ee5dc6af351c1 include/linux/nfsd/xdr4.h Peter Staubach 2007-08-16 778 cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 779
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[arnd-playground:arm-kill-set_fs-4 15/37] arch/arm64/include/asm/stat.h:20:2: error: unknown type name 'compat_u64'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git arm-kill-set_fs-4
head: 1d3fb77b2dd5e198884e0ebf81087989dfd6eff8
commit: c28f2a3405e27b1b4c6614526418b0b7ac102ee8 [15/37] move compat_u64 definition
config: arm64-randconfig-p002-20200917 (attached as .config)
compiler: aarch64-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
git checkout c28f2a3405e27b1b4c6614526418b0b7ac102ee8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/stat.h:6,
from include/linux/sysfs.h:22,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
>> arch/arm64/include/asm/stat.h:20:2: error: unknown type name 'compat_u64'
20 | compat_u64 st_dev;
| ^~~~~~~~~~
arch/arm64/include/asm/stat.h:31:2: error: unknown type name 'compat_u64'
31 | compat_u64 st_rdev;
| ^~~~~~~~~~
>> arch/arm64/include/asm/stat.h:34:2: error: unknown type name 'compat_s64'
34 | compat_s64 st_size;
| ^~~~~~~~~~
arch/arm64/include/asm/stat.h:36:2: error: unknown type name 'compat_u64'
36 | compat_u64 st_blocks; /* Number of 512-byte blocks allocated. */
| ^~~~~~~~~~
arch/arm64/include/asm/stat.h:47:2: error: unknown type name 'compat_u64'
47 | compat_u64 st_ino;
| ^~~~~~~~~~
make[2]: *** [scripts/Makefile.build:117: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1203: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
# https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commi...
git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground arm-kill-set_fs-4
git checkout c28f2a3405e27b1b4c6614526418b0b7ac102ee8
vim +/compat_u64 +20 arch/arm64/include/asm/stat.h
7992d60dc46576b Catalin Marinas 2012-03-05 14
7992d60dc46576b Catalin Marinas 2012-03-05 15 /*
7992d60dc46576b Catalin Marinas 2012-03-05 16 * struct stat64 is needed for compat tasks only. Its definition is different
7992d60dc46576b Catalin Marinas 2012-03-05 17 * from the generic struct stat64.
7992d60dc46576b Catalin Marinas 2012-03-05 18 */
7992d60dc46576b Catalin Marinas 2012-03-05 19 struct stat64 {
7992d60dc46576b Catalin Marinas 2012-03-05 @20 compat_u64 st_dev;
7992d60dc46576b Catalin Marinas 2012-03-05 21 unsigned char __pad0[4];
7992d60dc46576b Catalin Marinas 2012-03-05 22
7992d60dc46576b Catalin Marinas 2012-03-05 23 #define STAT64_HAS_BROKEN_ST_INO 1
7992d60dc46576b Catalin Marinas 2012-03-05 24 compat_ulong_t __st_ino;
7992d60dc46576b Catalin Marinas 2012-03-05 25 compat_uint_t st_mode;
7992d60dc46576b Catalin Marinas 2012-03-05 26 compat_uint_t st_nlink;
7992d60dc46576b Catalin Marinas 2012-03-05 27
7992d60dc46576b Catalin Marinas 2012-03-05 28 compat_ulong_t st_uid;
7992d60dc46576b Catalin Marinas 2012-03-05 29 compat_ulong_t st_gid;
7992d60dc46576b Catalin Marinas 2012-03-05 30
7992d60dc46576b Catalin Marinas 2012-03-05 31 compat_u64 st_rdev;
7992d60dc46576b Catalin Marinas 2012-03-05 32 unsigned char __pad3[4];
7992d60dc46576b Catalin Marinas 2012-03-05 33
7992d60dc46576b Catalin Marinas 2012-03-05 @34 compat_s64 st_size;
7992d60dc46576b Catalin Marinas 2012-03-05 35 compat_ulong_t st_blksize;
7992d60dc46576b Catalin Marinas 2012-03-05 36 compat_u64 st_blocks; /* Number of 512-byte blocks allocated. */
7992d60dc46576b Catalin Marinas 2012-03-05 37
7992d60dc46576b Catalin Marinas 2012-03-05 38 compat_ulong_t st_atime;
7992d60dc46576b Catalin Marinas 2012-03-05 39 compat_ulong_t st_atime_nsec;
7992d60dc46576b Catalin Marinas 2012-03-05 40
7992d60dc46576b Catalin Marinas 2012-03-05 41 compat_ulong_t st_mtime;
7992d60dc46576b Catalin Marinas 2012-03-05 42 compat_ulong_t st_mtime_nsec;
7992d60dc46576b Catalin Marinas 2012-03-05 43
7992d60dc46576b Catalin Marinas 2012-03-05 44 compat_ulong_t st_ctime;
7992d60dc46576b Catalin Marinas 2012-03-05 45 compat_ulong_t st_ctime_nsec;
7992d60dc46576b Catalin Marinas 2012-03-05 46
7992d60dc46576b Catalin Marinas 2012-03-05 47 compat_u64 st_ino;
7992d60dc46576b Catalin Marinas 2012-03-05 48 };
7992d60dc46576b Catalin Marinas 2012-03-05 49
:::::: The code at line 20 was first introduced by commit
:::::: 7992d60dc46576bc6f6429d87f313462141db6d2 arm64: System calls handling
:::::: TO: Catalin Marinas <catalin.marinas(a)arm.com>
:::::: CC: Catalin Marinas <catalin.marinas(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[monstr-microblaze:for-test 218/1134] drivers/media/i2c/adv7511-v4l2.c:427:9: warning: 'return' with a value, in function returning void
by kernel test robot
tree: git://git.monstr.eu/linux-2.6-microblaze for-test
head: 21f70b89dfef52f69ce1413868950cf5baf3868d
commit: ec8cdd50aa613113bb1480b0b103f42eea3f25d9 [218/1134] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: alpha-randconfig-r013-20200917 (attached as .config)
compiler: alpha-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
git checkout ec8cdd50aa613113bb1480b0b103f42eea3f25d9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
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 >>):
drivers/media/i2c/adv7511-v4l2.c: In function 'adv7511_set_rgb_quantization_mode':
>> drivers/media/i2c/adv7511-v4l2.c:427:9: warning: 'return' with a value, in function returning void [-Wreturn-type]
427 | return 0;
| ^
drivers/media/i2c/adv7511-v4l2.c:422:13: note: declared here
422 | static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/adv7511-v4l2.c: At top level:
>> drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev' [-Wmissing-prototypes]
2251 | struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
| ^~~~~~~~~~~~~~
git remote add monstr-microblaze git://git.monstr.eu/linux-2.6-microblaze
git fetch --no-tags monstr-microblaze for-test
git checkout ec8cdd50aa613113bb1480b0b103f42eea3f25d9
vim +/return +427 drivers/media/i2c/adv7511-v4l2.c
421
422 static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
423 {
424 struct adv7511_state *state = get_adv7511_state(sd);
425
426 #ifdef XYLON_LOGICVC_INTG
> 427 return 0;
428 #endif
429
430 /* Only makes sense for RGB formats */
431 if (state->fmt_code != MEDIA_BUS_FMT_RGB888_1X24) {
432 /* so just keep quantization */
433 adv7511_csc_rgb_full2limit(sd, false);
434 return;
435 }
436
437 switch (ctrl->val) {
438 case V4L2_DV_RGB_RANGE_AUTO:
439 /* automatic */
440 if (state->dv_timings.bt.flags & V4L2_DV_FL_IS_CE_VIDEO) {
441 /* CE format, RGB limited range (16-235) */
442 adv7511_csc_rgb_full2limit(sd, true);
443 } else {
444 /* not CE format, RGB full range (0-255) */
445 adv7511_csc_rgb_full2limit(sd, false);
446 }
447 break;
448 case V4L2_DV_RGB_RANGE_LIMITED:
449 /* RGB limited range (16-235) */
450 adv7511_csc_rgb_full2limit(sd, true);
451 break;
452 case V4L2_DV_RGB_RANGE_FULL:
453 /* RGB full range (0-255) */
454 adv7511_csc_rgb_full2limit(sd, false);
455 break;
456 }
457 }
458
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
Re: [PATCH v4] nl80211/cfg80211: support 6 GHz scanning
by kernel test robot
Hi Johannes,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mac80211-next/master]
[also build test ERROR on mac80211/master v5.9-rc5 next-20200917]
[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/Johannes-Berg/nl80211-cfg80211-s...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: powerpc64-randconfig-r035-20200917 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1321160a26e7e489baf9b10d6de90a342f898960)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:213:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:542:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/wireless/scan.c:13:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/uapi/linux/ethtool.h:19:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:215:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:543:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/wireless/scan.c:13:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/uapi/linux/ethtool.h:19:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:217:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:544:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/wireless/scan.c:13:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/uapi/linux/ethtool.h:19:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:219:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:545:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/wireless/scan.c:13:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/uapi/linux/ethtool.h:19:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:221:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:546:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
>> net/wireless/scan.c:839:7: error: implicit declaration of function 'cfg80211_is_psc' [-Werror,-Wimplicit-function-declaration]
if (cfg80211_is_psc(chan) && !need_scan_psc)
^
12 warnings and 1 error generated.
# https://github.com/0day-ci/linux/commit/6c8ef71e4783e7524ee2a59e264dd6767...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Johannes-Berg/nl80211-cfg80211-support-6-GHz-scanning/20200917-170112
git checkout 6c8ef71e4783e7524ee2a59e264dd67676a5f532
vim +/cfg80211_is_psc +839 net/wireless/scan.c
720
721 static int cfg80211_scan_6ghz(struct cfg80211_registered_device *rdev)
722 {
723 u8 i;
724 struct cfg80211_colocated_ap *ap;
725 int n_channels, count = 0, err;
726 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req;
727 LIST_HEAD(coloc_ap_list);
728 bool need_scan_psc;
729 const struct ieee80211_sband_iftype_data *iftd;
730
731 rdev_req->scan_6ghz = true;
732
733 if (!rdev->wiphy.bands[NL80211_BAND_6GHZ])
734 return -EOPNOTSUPP;
735
736 iftd = ieee80211_get_sband_iftype_data(rdev->wiphy.bands[NL80211_BAND_6GHZ],
737 rdev_req->wdev->iftype);
738 if (!iftd || !iftd->he_cap.has_he)
739 return -EOPNOTSUPP;
740
741 n_channels = rdev->wiphy.bands[NL80211_BAND_6GHZ]->n_channels;
742
743 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) {
744 struct cfg80211_internal_bss *intbss;
745
746 spin_lock_bh(&rdev->bss_lock);
747 list_for_each_entry(intbss, &rdev->bss_list, list) {
748 struct cfg80211_bss *res = &intbss->pub;
749
750 count += cfg80211_parse_colocated_ap(res->ies,
751 &coloc_ap_list);
752 }
753 spin_unlock_bh(&rdev->bss_lock);
754 }
755
756 request = kzalloc(struct_size(request, channels, n_channels) +
757 sizeof(*request->scan_6ghz_params) * count,
758 GFP_KERNEL);
759 if (!request) {
760 cfg80211_free_coloc_ap_list(&coloc_ap_list);
761 return -ENOMEM;
762 }
763
764 *request = *rdev_req;
765 request->n_channels = 0;
766 request->scan_6ghz_params =
767 (void *)&request->channels[n_channels];
768
769 /*
770 * PSC channels should not be scanned if all the reported co-located APs
771 * are indicating that all APs in the same ESS are co-located
772 */
773 if (count) {
774 need_scan_psc = false;
775
776 list_for_each_entry(ap, &coloc_ap_list, list) {
777 if (!ap->colocated_ess) {
778 need_scan_psc = true;
779 break;
780 }
781 }
782 } else {
783 need_scan_psc = true;
784 }
785
786 /*
787 * add to the scan request the channels that need to be scanned
788 * regardless of the collocated APs (PSC channels or all channels
789 * in case that NL80211_SCAN_FLAG_COLOCATED_6GHZ is not set)
790 */
791 for (i = 0; i < rdev_req->n_channels; i++) {
792 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ &&
793 ((need_scan_psc &&
794 cfg80211_channel_is_psc(rdev_req->channels[i])) ||
795 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) {
796 cfg80211_scan_req_add_chan(request,
797 rdev_req->channels[i],
798 false);
799 }
800 }
801
802 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))
803 goto skip;
804
805 list_for_each_entry(ap, &coloc_ap_list, list) {
806 bool found = false;
807 struct cfg80211_scan_6ghz_params *scan_6ghz_params =
808 &request->scan_6ghz_params[request->n_6ghz_params];
809 struct ieee80211_channel *chan =
810 ieee80211_get_channel(&rdev->wiphy, ap->center_freq);
811
812 if (!chan || chan->flags & IEEE80211_CHAN_DISABLED)
813 continue;
814
815 for (i = 0; i < rdev_req->n_channels; i++) {
816 if (rdev_req->channels[i] == chan)
817 found = true;
818 }
819
820 if (!found)
821 continue;
822
823 if (request->n_ssids > 0 &&
824 !cfg80211_find_ssid_match(ap, request))
825 continue;
826
827 cfg80211_scan_req_add_chan(request, chan, true);
828 memcpy(scan_6ghz_params->bssid, ap->bssid, ETH_ALEN);
829 scan_6ghz_params->short_ssid = ap->short_ssid;
830 scan_6ghz_params->short_ssid_valid = ap->short_ssid_valid;
831 scan_6ghz_params->unsolicited_probe = ap->unsolicited_probe;
832
833 /*
834 * If a PSC channel is added to the scan and 'need_scan_psc' is
835 * set to false, then all the APs that the scan logic is
836 * interested with on the channel are collocated and thus there
837 * is no need to perform the initial PSC channel listen.
838 */
> 839 if (cfg80211_is_psc(chan) && !need_scan_psc)
840 scan_6ghz_params->psc_no_listen = true;
841
842 request->n_6ghz_params++;
843 }
844
845 skip:
846 cfg80211_free_coloc_ap_list(&coloc_ap_list);
847
848 if (request->n_channels) {
849 struct cfg80211_scan_request *old = rdev->int_scan_req;
850
851 rdev->int_scan_req = request;
852
853 /*
854 * If this scan follows a previous scan, save the scan start
855 * info from the first part of the scan
856 */
857 if (old)
858 rdev->int_scan_req->info = old->info;
859
860 err = rdev_scan(rdev, request);
861 if (err) {
862 rdev->int_scan_req = old;
863 kfree(request);
864 } else {
865 kfree(old);
866 }
867
868 return err;
869 }
870
871 kfree(request);
872 return -EINVAL;
873 }
874
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[linux-next:master 1889/8629] ld.lld: error: undefined symbol: bpf_preload_ops
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 860461e4fcaa76200d2d1a53523e0ff7be92e6e8
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c [1889/8629] bpf: Add kernel module with user mode driver that populates bpffs.
config: x86_64-randconfig-r001-20200917 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1321160a26e7e489baf9b10d6de90a342f898960)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: bpf_preload_ops
>>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
>>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
>>> referenced by bpf_preload_kern.c:83 (kernel/bpf/preload/bpf_preload_kern.c:83)
>>> bpf/preload/bpf_preload_kern.o:(fini_umd) in archive kernel/built-in.a
>>> referenced by bpf_preload_kern.c:77 (kernel/bpf/preload/bpf_preload_kern.c:77)
>>> bpf/preload/bpf_preload_kern.o:(load_umd) in archive kernel/built-in.a
>>> referenced 1 more times
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years
[intel-linux-intel-lts:4.9/yocto/base 2/9] drivers/gpu/drm/i915/intel_lrc.c:1109:27: error: unused variable 'dev_priv'
by kernel test robot
tree: https://github.com/intel/linux-intel-lts.git 4.9/yocto/base
head: 2a51382b3fd2c499ef6a2229389aa5c06481d1cf
commit: 122b301e0181c2677aa49fe56537f905e8282bc3 [2/9] Merge tag 'v4.9.214' into lts2016/yocto
config: i386-randconfig-a013-20200917 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout 122b301e0181c2677aa49fe56537f905e8282bc3
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/intel_lrc.c: In function 'gen9_init_indirectctx_bb':
>> drivers/gpu/drm/i915/intel_lrc.c:1109:27: error: unused variable 'dev_priv' [-Werror=unused-variable]
struct drm_i915_private *dev_priv = engine->i915;
^~~~~~~~
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:257: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
cc1: all warnings being treated as errors
# https://github.com/intel/linux-intel-lts/commit/122b301e0181c2677aa49fe56...
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.9/yocto/base
git checkout 122b301e0181c2677aa49fe56537f905e8282bc3
vim +/dev_priv +1109 drivers/gpu/drm/i915/intel_lrc.c
17ee950df38b649 Arun Siluvery 2015-06-19 1102
0bc40be85f33ca1 Tvrtko Ursulin 2016-03-16 1103 static int gen9_init_indirectctx_bb(struct intel_engine_cs *engine,
0504cffc7b128dc Arun Siluvery 2015-07-14 1104 struct i915_wa_ctx_bb *wa_ctx,
6e5248b53fda0dc Daniel Vetter 2016-07-15 1105 uint32_t *batch,
0504cffc7b128dc Arun Siluvery 2015-07-14 1106 uint32_t *offset)
0504cffc7b128dc Arun Siluvery 2015-07-14 1107 {
a4106a782d11d44 Arun Siluvery 2015-07-14 1108 int ret;
5e580523d9128a4 Dave Airlie 2016-07-26 @1109 struct drm_i915_private *dev_priv = engine->i915;
0504cffc7b128dc Arun Siluvery 2015-07-14 1110 uint32_t index = wa_ctx_start(wa_ctx, *offset, CACHELINE_DWORDS);
571233331e19102 Akeem G Abodunrin 2020-01-08 1111 u32 scratch_addr =
571233331e19102 Akeem G Abodunrin 2020-01-08 1112 i915_ggtt_offset(engine->scratch) + 2 * CACHELINE_BYTES;
0504cffc7b128dc Arun Siluvery 2015-07-14 1113
3cd8216a9dc0515 Ander Conselvan de Oliveira 2017-01-26 1114 /* WaFlushCoherentL3CacheLinesAtContextSwitch:skl,bxt,glk */
0bc40be85f33ca1 Tvrtko Ursulin 2016-03-16 1115 ret = gen8_emit_flush_coherentl3_wa(engine, batch, index);
a4106a782d11d44 Arun Siluvery 2015-07-14 1116 if (ret < 0)
a4106a782d11d44 Arun Siluvery 2015-07-14 1117 return ret;
a4106a782d11d44 Arun Siluvery 2015-07-14 1118 index = ret;
a4106a782d11d44 Arun Siluvery 2015-07-14 1119
3cd8216a9dc0515 Ander Conselvan de Oliveira 2017-01-26 1120 /* WaDisableGatherAtSetShaderCommonSlice:skl,bxt,kbl,glk */
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1121 wa_ctx_emit(batch, index, MI_LOAD_REGISTER_IMM(1));
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1122 wa_ctx_emit_reg(batch, index, COMMON_SLICE_CHICKEN2);
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1123 wa_ctx_emit(batch, index, _MASKED_BIT_DISABLE(
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1124 GEN9_DISABLE_GATHER_AT_SET_SHADER_COMMON_SLICE));
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1125 wa_ctx_emit(batch, index, MI_NOOP);
873e8171aebe9e6 Mika Kuoppala 2016-07-20 1126
571233331e19102 Akeem G Abodunrin 2020-01-08 1127 /* WaClearSlmSpaceAtContextSwitch:skl,bxt,kbl,glk,cfl */
066d462888514af Mika Kuoppala 2016-06-07 1128 /* Actual scratch location is at 128 bytes offset */
066d462888514af Mika Kuoppala 2016-06-07 1129 wa_ctx_emit(batch, index, GFX_OP_PIPE_CONTROL(6));
066d462888514af Mika Kuoppala 2016-06-07 1130 wa_ctx_emit(batch, index, (PIPE_CONTROL_FLUSH_L3 |
066d462888514af Mika Kuoppala 2016-06-07 1131 PIPE_CONTROL_GLOBAL_GTT_IVB |
066d462888514af Mika Kuoppala 2016-06-07 1132 PIPE_CONTROL_CS_STALL |
066d462888514af Mika Kuoppala 2016-06-07 1133 PIPE_CONTROL_QW_WRITE));
066d462888514af Mika Kuoppala 2016-06-07 1134 wa_ctx_emit(batch, index, scratch_addr);
066d462888514af Mika Kuoppala 2016-06-07 1135 wa_ctx_emit(batch, index, 0);
066d462888514af Mika Kuoppala 2016-06-07 1136 wa_ctx_emit(batch, index, 0);
066d462888514af Mika Kuoppala 2016-06-07 1137 wa_ctx_emit(batch, index, 0);
3485d99e415fade Tim Gore 2016-07-05 1138
3cd8216a9dc0515 Ander Conselvan de Oliveira 2017-01-26 1139 /* WaMediaPoolStateCmdInWABB:bxt,glk */
3485d99e415fade Tim Gore 2016-07-05 1140 if (HAS_POOLED_EU(engine->i915)) {
3485d99e415fade Tim Gore 2016-07-05 1141 /*
3485d99e415fade Tim Gore 2016-07-05 1142 * EU pool configuration is setup along with golden context
3485d99e415fade Tim Gore 2016-07-05 1143 * during context initialization. This value depends on
3485d99e415fade Tim Gore 2016-07-05 1144 * device type (2x6 or 3x6) and needs to be updated based
3485d99e415fade Tim Gore 2016-07-05 1145 * on which subslice is disabled especially for 2x6
3485d99e415fade Tim Gore 2016-07-05 1146 * devices, however it is safe to load default
3485d99e415fade Tim Gore 2016-07-05 1147 * configuration of 3x6 device instead of masking off
3485d99e415fade Tim Gore 2016-07-05 1148 * corresponding bits because HW ignores bits of a disabled
3485d99e415fade Tim Gore 2016-07-05 1149 * subslice and drops down to appropriate config. Please
3485d99e415fade Tim Gore 2016-07-05 1150 * see render_state_setup() in i915_gem_render_state.c for
3485d99e415fade Tim Gore 2016-07-05 1151 * possible configurations, to avoid duplication they are
3485d99e415fade Tim Gore 2016-07-05 1152 * not shown here again.
3485d99e415fade Tim Gore 2016-07-05 1153 */
3485d99e415fade Tim Gore 2016-07-05 1154 u32 eu_pool_config = 0x00777000;
3485d99e415fade Tim Gore 2016-07-05 1155 wa_ctx_emit(batch, index, GEN9_MEDIA_POOL_STATE);
3485d99e415fade Tim Gore 2016-07-05 1156 wa_ctx_emit(batch, index, GEN9_MEDIA_POOL_ENABLE);
3485d99e415fade Tim Gore 2016-07-05 1157 wa_ctx_emit(batch, index, eu_pool_config);
3485d99e415fade Tim Gore 2016-07-05 1158 wa_ctx_emit(batch, index, 0);
3485d99e415fade Tim Gore 2016-07-05 1159 wa_ctx_emit(batch, index, 0);
3485d99e415fade Tim Gore 2016-07-05 1160 wa_ctx_emit(batch, index, 0);
3485d99e415fade Tim Gore 2016-07-05 1161 }
3485d99e415fade Tim Gore 2016-07-05 1162
0504cffc7b128dc Arun Siluvery 2015-07-14 1163 /* Pad to end of cacheline */
0504cffc7b128dc Arun Siluvery 2015-07-14 1164 while (index % CACHELINE_DWORDS)
0504cffc7b128dc Arun Siluvery 2015-07-14 1165 wa_ctx_emit(batch, index, MI_NOOP);
0504cffc7b128dc Arun Siluvery 2015-07-14 1166
0504cffc7b128dc Arun Siluvery 2015-07-14 1167 return wa_ctx_end(wa_ctx, *offset = index, CACHELINE_DWORDS);
0504cffc7b128dc Arun Siluvery 2015-07-14 1168 }
0504cffc7b128dc Arun Siluvery 2015-07-14 1169
:::::: The code at line 1109 was first introduced by commit
:::::: 5e580523d9128a4d8364fe89d36c38fc7819c8dd Backmerge tag 'v4.7' into drm-next
:::::: TO: Dave Airlie <airlied(a)redhat.com>
:::::: CC: Dave Airlie <airlied(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years