[intel-linux-intel-lts:5.4/yocto 8/24] drivers/gpu/drm/i915/gvt/display.c:2137:21-23: ERROR: disp_path is NULL but dereferenced. (fwd)
by Julia Lawall
Hello,
disp_path might be NULL on line 2137.
julia
---------- Forwarded message ----------
Date: Tue, 13 Apr 2021 02:43:33 +0800
From: kernel test robot <lkp(a)intel.com>
To: kbuild(a)lists.01.org
Cc: lkp(a)intel.com, Julia Lawall <julia.lawall(a)lip6.fr>
Subject: [intel-linux-intel-lts:5.4/yocto 8/24]
drivers/gpu/drm/i915/gvt/display.c:2137:21-23: ERROR: disp_path is NULL but
dereferenced.
CC: kbuild-all(a)lists.01.org
TO: Colin Xu <colin.xu(a)intel.com>
CC: "Qin, Chao" <chao.qin(a)intel.com>
CC: Hang Yuan <hang.yuan(a)intel.com>
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: 8bbfe55bfdb2905c35914605bc1b4a4404d86649
commit: 2521b097a48688b899e3db9cb855aa1ec59b02e8 [8/24] drm/i915/gvt: Rebase IDV 2.1 direct display to 5.4.x.
:::::: branch date: 10 months ago
:::::: commit date: 10 months ago
config: x86_64-randconfig-c002-20210412 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Julia Lawall <julia.lawall(a)lip6.fr>
cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/gvt/display.c:2137:21-23: ERROR: disp_path is NULL but dereferenced.
drivers/gpu/drm/i915/gvt/display.c:2138:31-37: ERROR: disp_path is NULL but dereferenced.
drivers/gpu/drm/i915/gvt/display.c:2139:31-37: ERROR: disp_path is NULL but dereferenced.
drivers/gpu/drm/i915/gvt/display.c:2140:21-31: ERROR: disp_path is NULL but dereferenced.
drivers/gpu/drm/i915/gvt/display.c:2141:21-37: ERROR: disp_path is NULL but dereferenced.
--
>> drivers/gpu/drm/i915/gvt/display.c:1917:2-8: preceding lock on line 1908
--
>> drivers/gpu/drm/i915/gvt/display.c:1904:7-16: ERROR: invalid reference to the index variable of the iterator on line 1899
drivers/gpu/drm/i915/gvt/display.c:2119:39-48: ERROR: invalid reference to the index variable of the iterator on line 2114
drivers/gpu/drm/i915/gvt/display.c:2120:8-17: ERROR: invalid reference to the index variable of the iterator on line 2114
drivers/gpu/drm/i915/gvt/display.c:2121:9-18: ERROR: invalid reference to the index variable of the iterator on line 2114
drivers/gpu/drm/i915/gvt/display.c:1611:6-15: ERROR: invalid reference to the index variable of the iterator on line 1607
drivers/gpu/drm/i915/gvt/display.c:1798:6-15: ERROR: invalid reference to the index variable of the iterator on line 1794
drivers/gpu/drm/i915/gvt/display.c:1223:6-15: ERROR: invalid reference to the index variable of the iterator on line 1219
vim +2137 drivers/gpu/drm/i915/gvt/display.c
2521b097a48688b Colin Xu 2020-04-14 2071
2521b097a48688b Colin Xu 2020-04-14 2072 static void intel_gvt_switch_display_work(struct work_struct *w)
2521b097a48688b Colin Xu 2020-04-14 2073 {
2521b097a48688b Colin Xu 2020-04-14 2074 struct intel_gvt *gvt = container_of(w,
2521b097a48688b Colin Xu 2020-04-14 2075 struct intel_gvt, switch_display_work);
2521b097a48688b Colin Xu 2020-04-14 2076 struct intel_vgpu *vgpu, *old_v, *new_v;
2521b097a48688b Colin Xu 2020-04-14 2077 struct intel_vgpu_display_path *disp_path = NULL, *n;
2521b097a48688b Colin Xu 2020-04-14 2078 int id, old, new;
2521b097a48688b Colin Xu 2020-04-14 2079 u32 new_owner = 0;
2521b097a48688b Colin Xu 2020-04-14 2080 enum pipe pipe;
2521b097a48688b Colin Xu 2020-04-14 2081 enum port port;
2521b097a48688b Colin Xu 2020-04-14 2082 bool do_switch = false;
2521b097a48688b Colin Xu 2020-04-14 2083
2521b097a48688b Colin Xu 2020-04-14 2084 mutex_lock(&gvt->lock);
2521b097a48688b Colin Xu 2020-04-14 2085 mutex_lock(&gvt->sw_in_progress);
2521b097a48688b Colin Xu 2020-04-14 2086
2521b097a48688b Colin Xu 2020-04-14 2087 /* Switch base on port */
2521b097a48688b Colin Xu 2020-04-14 2088 for_each_pipe(gvt->dev_priv, pipe) {
2521b097a48688b Colin Xu 2020-04-14 2089 port = intel_gvt_port_from_pipe(gvt->dev_priv, pipe);
2521b097a48688b Colin Xu 2020-04-14 2090
2521b097a48688b Colin Xu 2020-04-14 2091 if (port == PORT_NONE)
2521b097a48688b Colin Xu 2020-04-14 2092 continue;
2521b097a48688b Colin Xu 2020-04-14 2093
2521b097a48688b Colin Xu 2020-04-14 2094 gvt_dbg_dpy("Check display switch on PIPE_%c, PORT_%c\n",
2521b097a48688b Colin Xu 2020-04-14 2095 pipe_name(pipe), port_name(port));
2521b097a48688b Colin Xu 2020-04-14 2096
2521b097a48688b Colin Xu 2020-04-14 2097 old = gvt->pipe_info[pipe].owner;
2521b097a48688b Colin Xu 2020-04-14 2098 new = (gvt->disp_owner >> port * 4) & 0xF;
2521b097a48688b Colin Xu 2020-04-14 2099
2521b097a48688b Colin Xu 2020-04-14 2100 old_v = NULL;
2521b097a48688b Colin Xu 2020-04-14 2101 new_v = NULL;
2521b097a48688b Colin Xu 2020-04-14 2102 do_switch = false;
2521b097a48688b Colin Xu 2020-04-14 2103 // Get old and new owners, either host or vGPU-x
2521b097a48688b Colin Xu 2020-04-14 2104 idr_for_each_entry((&(gvt)->vgpu_idr), vgpu, id) {
2521b097a48688b Colin Xu 2020-04-14 2105 if (old && id == old)
2521b097a48688b Colin Xu 2020-04-14 2106 old_v = vgpu;
2521b097a48688b Colin Xu 2020-04-14 2107 if (new && id == new)
2521b097a48688b Colin Xu 2020-04-14 2108 new_v = vgpu;
2521b097a48688b Colin Xu 2020-04-14 2109 }
2521b097a48688b Colin Xu 2020-04-14 2110
2521b097a48688b Colin Xu 2020-04-14 2111 if (new != old) {
2521b097a48688b Colin Xu 2020-04-14 2112 if (new_v) {
2521b097a48688b Colin Xu 2020-04-14 2113 disp_path = NULL;
2521b097a48688b Colin Xu 2020-04-14 2114 list_for_each_entry_safe(disp_path, n, &new_v->disp_cfg.path_list, list) {
2521b097a48688b Colin Xu 2020-04-14 2115 if (disp_path->p_pipe != INVALID_PIPE &&
2521b097a48688b Colin Xu 2020-04-14 2116 disp_path->p_port == port)
2521b097a48688b Colin Xu 2020-04-14 2117 break;
2521b097a48688b Colin Xu 2020-04-14 2118 }
2521b097a48688b Colin Xu 2020-04-14 2119 if (atomic_read(&new_v->active) && disp_path &&
2521b097a48688b Colin Xu 2020-04-14 2120 disp_path->foreground &&
2521b097a48688b Colin Xu 2020-04-14 2121 !disp_path->foreground_state) {
2521b097a48688b Colin Xu 2020-04-14 2122 do_switch = true;
2521b097a48688b Colin Xu 2020-04-14 2123 gvt_dbg_dpy("Switch display to vGPU-%d, path-%d, PIPE_%c, PORT_%c\n",
2521b097a48688b Colin Xu 2020-04-14 2124 new_v->id, disp_path->id,
2521b097a48688b Colin Xu 2020-04-14 2125 pipe_name(disp_path->p_pipe),
2521b097a48688b Colin Xu 2020-04-14 2126 port_name(disp_path->p_port));
2521b097a48688b Colin Xu 2020-04-14 2127 } else {
2521b097a48688b Colin Xu 2020-04-14 2128 // If can't switch to new vGPU,
2521b097a48688b Colin Xu 2020-04-14 2129 // maintain old owner.
2521b097a48688b Colin Xu 2020-04-14 2130 new_owner = gvt->disp_owner;
2521b097a48688b Colin Xu 2020-04-14 2131 new_owner &= ~(0xF << port * 4);
2521b097a48688b Colin Xu 2020-04-14 2132 new_owner |= (old << port * 4);
2521b097a48688b Colin Xu 2020-04-14 2133 gvt->disp_owner = new_owner;
2521b097a48688b Colin Xu 2020-04-14 2134 do_switch = false;
2521b097a48688b Colin Xu 2020-04-14 2135 gvt_dbg_dpy("Can't switch display to vGPU-%d active-%d, path-%d, PIPE_%c, PORT_%c, foreground-%d, foreground_state-%d\n",
2521b097a48688b Colin Xu 2020-04-14 2136 new_v->id, atomic_read(&new_v->active),
2521b097a48688b Colin Xu 2020-04-14 @2137 disp_path->id,
2521b097a48688b Colin Xu 2020-04-14 2138 pipe_name(disp_path->p_pipe),
2521b097a48688b Colin Xu 2020-04-14 2139 port_name(disp_path->p_port),
2521b097a48688b Colin Xu 2020-04-14 2140 disp_path->foreground,
2521b097a48688b Colin Xu 2020-04-14 2141 disp_path->foreground_state);
2521b097a48688b Colin Xu 2020-04-14 2142 }
2521b097a48688b Colin Xu 2020-04-14 2143 } else {
2521b097a48688b Colin Xu 2020-04-14 2144 // Switch to host is always expected possible
2521b097a48688b Colin Xu 2020-04-14 2145 do_switch = true;
2521b097a48688b Colin Xu 2020-04-14 2146 gvt_dbg_dpy("Switch display to host\n");
2521b097a48688b Colin Xu 2020-04-14 2147 }
2521b097a48688b Colin Xu 2020-04-14 2148 } else {
2521b097a48688b Colin Xu 2020-04-14 2149 do_switch = false;
2521b097a48688b Colin Xu 2020-04-14 2150 gvt_dbg_dpy("Skip switch display due to unchanged owner\n");
2521b097a48688b Colin Xu 2020-04-14 2151 }
2521b097a48688b Colin Xu 2020-04-14 2152
2521b097a48688b Colin Xu 2020-04-14 2153 if (do_switch && !prepare_for_switch_display(gvt, pipe)) {
2521b097a48688b Colin Xu 2020-04-14 2154 intel_gvt_switch_display_pipe(gvt, pipe, old_v, new_v);
2521b097a48688b Colin Xu 2020-04-14 2155 if (old_v && new_v)
2521b097a48688b Colin Xu 2020-04-14 2156 gvt_dbg_dpy("Change PIPE_%c PORT_%c owner from "
2521b097a48688b Colin Xu 2020-04-14 2157 "vGPU-%d to vGPU-%d\n",
2521b097a48688b Colin Xu 2020-04-14 2158 pipe_name(pipe), port_name(port),
2521b097a48688b Colin Xu 2020-04-14 2159 old_v->id, new_v->id);
2521b097a48688b Colin Xu 2020-04-14 2160 else if (old_v && !new_v)
2521b097a48688b Colin Xu 2020-04-14 2161 gvt_dbg_dpy("Change PIPE_%c PORT_%c owner from "
2521b097a48688b Colin Xu 2020-04-14 2162 "vGPU-%d to host\n",
2521b097a48688b Colin Xu 2020-04-14 2163 pipe_name(pipe), port_name(port),
2521b097a48688b Colin Xu 2020-04-14 2164 old_v->id);
2521b097a48688b Colin Xu 2020-04-14 2165 else if (!old_v && new_v)
2521b097a48688b Colin Xu 2020-04-14 2166 gvt_dbg_dpy("Change PIPE_%c PORT_%c owner from "
2521b097a48688b Colin Xu 2020-04-14 2167 "host to vGPU-%d\n",
2521b097a48688b Colin Xu 2020-04-14 2168 pipe_name(pipe), port_name(port),
2521b097a48688b Colin Xu 2020-04-14 2169 new_v->id);
2521b097a48688b Colin Xu 2020-04-14 2170 else
2521b097a48688b Colin Xu 2020-04-14 2171 gvt_dbg_dpy("Unexpected change PIPE_%c PORT_%c "
2521b097a48688b Colin Xu 2020-04-14 2172 "owner from host to host\n",
2521b097a48688b Colin Xu 2020-04-14 2173 pipe_name(pipe), port_name(port));
2521b097a48688b Colin Xu 2020-04-14 2174 }
2521b097a48688b Colin Xu 2020-04-14 2175 }
2521b097a48688b Colin Xu 2020-04-14 2176
2521b097a48688b Colin Xu 2020-04-14 2177 mutex_unlock(&gvt->sw_in_progress);
2521b097a48688b Colin Xu 2020-04-14 2178 mutex_unlock(&gvt->lock);
2521b097a48688b Colin Xu 2020-04-14 2179 }
2521b097a48688b Colin Xu 2020-04-14 2180
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [Outreachy kernel][PATCH 3/4] Replace macro function by static inline function in file iss_ipipeif.c
by kernel test robot
Hi Aline,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.12-rc7 next-20210412]
[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/Aline-Santana-Cordeiro/Replace-m...
base: git://linuxtv.org/media_tree.git master
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
# https://github.com/0day-ci/linux/commit/8845073e7a4b434b2bc32818bfa172e91...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Aline-Santana-Cordeiro/Replace-macro-function-by-static-inline-function-in-file-iss-c/20210412-213252
git checkout 8845073e7a4b434b2bc32818bfa172e91075a167
# 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 warnings (new ones prefixed by >>):
drivers/staging/media/omap4iss/iss_ipipeif.c:37:15: error: return type defaults to 'int' [-Werror=return-type]
37 | static inline ipipeif_print_register(iss, name)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:37:15: error: function declaration isn't a prototype [-Werror=strict-prototypes]
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_print_register':
>> drivers/staging/media/omap4iss/iss_ipipeif.c:37:15: warning: old-style function definition [-Wold-style-definition]
>> drivers/staging/media/omap4iss/iss_ipipeif.c:37:15: warning: type of 'iss' defaults to 'int' [-Wmissing-parameter-type]
>> drivers/staging/media/omap4iss/iss_ipipeif.c:37:15: warning: type of 'name' defaults to 'int' [-Wmissing-parameter-type]
In file included from include/linux/printk.h:409,
from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/staging/media/omap4iss/iss_ipipeif.c:10:
drivers/staging/media/omap4iss/iss_ipipeif.c:39:34: error: stray '#' in program
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^
include/linux/dynamic_debug.h:91:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
91 | .format = (fmt), \
| ^~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:2: note: in expansion of macro 'dev_dbg'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:35: error: expected ')' before 'name'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~
include/linux/dynamic_debug.h:91:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
91 | .format = (fmt), \
| ^~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:2: note: in expansion of macro 'dev_dbg'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~~~~
include/linux/dynamic_debug.h:91:13: note: to match this '('
91 | .format = (fmt), \
| ^
include/linux/dynamic_debug.h:127:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
127 | DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:2: note: in expansion of macro 'dev_dbg'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:13: error: invalid type argument of '->' (have 'int')
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~
include/linux/dynamic_debug.h:129:15: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:2: note: in expansion of macro 'dev_dbg'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:34: error: stray '#' in program
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^
include/linux/dynamic_debug.h:129:15: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:2: note: in expansion of macro 'dev_dbg'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c:39:35: error: expected ')' before 'name'
39 | dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
vim +37 drivers/staging/media/omap4iss/iss_ipipeif.c
30
31 /*
32 * ipipeif_print_status - Print current IPIPEIF Module register values.
33 * @ipipeif: Pointer to ISS ISP IPIPEIF device.
34 *
35 * Also prints other debug information stored in the IPIPEIF module.
36 */
> 37 static inline ipipeif_print_register(iss, name)
38 {
39 dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n",
40 iss_reg_read(iss, OMAP4_ISS_MEM_ISP_IPIPEIF, IPIPEIF_##name));
41 }
42
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH bpf-next v3 3/6] bpf: Add a bpf_snprintf helper
by kernel test robot
Hi Florent,
I love your patch! Perhaps something to improve:
[auto build test WARNING on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Florent-Revest/Add-a-snprintf-eB...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: i386-randconfig-s002-20210412 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-280-g2cd6d34e-dirty
# https://github.com/0day-ci/linux/commit/168301dda58989eca274d5f5c92667554...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Florent-Revest/Add-a-snprintf-eBPF-helper/20210412-233921
git checkout 168301dda58989eca274d5f5c926675540010e13
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
kernel/bpf/verifier.c:1674:41: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12051:76: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12489:81: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12493:81: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12497:81: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12501:79: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12505:78: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12509:79: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12513:78: sparse: sparse: subtraction of functions? Share your drugs
kernel/bpf/verifier.c:12557:38: sparse: sparse: subtraction of functions? Share your drugs
>> kernel/bpf/verifier.c:5944:23: sparse: sparse: non size-preserving integer to pointer cast
vim +5944 kernel/bpf/verifier.c
5920
5921 static int check_bpf_snprintf_call(struct bpf_verifier_env *env,
5922 struct bpf_reg_state *regs)
5923 {
5924 struct bpf_reg_state *fmt_reg = ®s[BPF_REG_3];
5925 struct bpf_reg_state *data_len_reg = ®s[BPF_REG_5];
5926 struct bpf_map *fmt_map = fmt_reg->map_ptr;
5927 int err, fmt_map_off, num_args;
5928 u64 fmt_addr;
5929 char *fmt;
5930
5931 /* data must be an array of u64 */
5932 if (data_len_reg->var_off.value % 8)
5933 return -EINVAL;
5934 num_args = data_len_reg->var_off.value / 8;
5935
5936 /* fmt being ARG_PTR_TO_CONST_STR guarantees that var_off is const
5937 * and map_direct_value_addr is set.
5938 */
5939 fmt_map_off = fmt_reg->off + fmt_reg->var_off.value;
5940 err = fmt_map->ops->map_direct_value_addr(fmt_map, &fmt_addr,
5941 fmt_map_off);
5942 if (err)
5943 return err;
> 5944 fmt = (char *)fmt_addr + fmt_map_off;
5945
5946 /* We are also guaranteed that fmt+fmt_map_off is NULL terminated, we
5947 * can focus on validating the format specifiers.
5948 */
5949 err = bpf_printf_prepare(fmt, UINT_MAX, NULL, NULL, NULL, num_args);
5950 if (err < 0)
5951 verbose(env, "Invalid format string\n");
5952
5953 return err;
5954 }
5955
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH] mm/compaction:let proactive compaction order configurable
by kernel test robot
Hi chukaiping,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kees/for-next/pstore]
[also build test ERROR on linus/master v5.12-rc7 next-20210412]
[cannot apply to hnaz-linux-mm/master]
[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/chukaiping/mm-compaction-let-pro...
base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
config: powerpc-cell_defconfig (attached as .config)
compiler: powerpc64-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/a203321bf356e9514ca678c96119df72d...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review chukaiping/mm-compaction-let-proactive-compaction-order-configurable/20210412-172336
git checkout a203321bf356e9514ca678c96119df72d6bfa803
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
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/powerpc/include/asm/mmu.h:149,
from arch/powerpc/include/asm/lppaca.h:46,
from arch/powerpc/include/asm/paca.h:17,
from arch/powerpc/include/asm/current.h:13,
from include/linux/sched.h:12,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/node.h:18,
from include/linux/cpu.h:17,
from mm/compaction.c:11:
>> arch/powerpc/include/asm/page.h:39:28: error: initializer element is not constant
39 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^
mm/compaction.c:66:32: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
66 | #define COMPACTION_HPAGE_ORDER HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
mm/compaction.c:2669:54: note: in expansion of macro 'COMPACTION_HPAGE_ORDER'
2669 | unsigned int __read_mostly sysctl_compaction_order = COMPACTION_HPAGE_ORDER;
| ^~~~~~~~~~~~~~~~~~~~~~
vim +39 arch/powerpc/include/asm/page.h
5cd16ee934eafc include/asm-powerpc/page.h Michael Ellerman 2005-11-11 25
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 26 #ifndef __ASSEMBLY__
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 27 #ifndef CONFIG_HUGETLB_PAGE
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 28 #define HPAGE_SHIFT PAGE_SHIFT
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 29 #elif defined(CONFIG_PPC_BOOK3S_64)
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 30 extern unsigned int hpage_shift;
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 31 #define HPAGE_SHIFT hpage_shift
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 32 #elif defined(CONFIG_PPC_8xx)
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 33 #define HPAGE_SHIFT 19 /* 512k pages */
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 34 #elif defined(CONFIG_PPC_FSL_BOOK3E)
c5710cd2073503 arch/powerpc/include/asm/page.h Christophe Leroy 2019-04-26 35 #define HPAGE_SHIFT 22 /* 4M pages */
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 36 #endif
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 37 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 38 #define HPAGE_MASK (~(HPAGE_SIZE - 1))
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 @39 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 40 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1)
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 41 #endif
41151e77a4d96e arch/powerpc/include/asm/page.h Becky Bruce 2011-06-28 42
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[arm-integrator:test 2/4] arch/arm/mm/init.c:296:13: warning: no previous prototype for function 'mem_init_print_arm_info'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git test
head: 8ebead0b0045dda65746d26081a6776760ce1d4b
commit: 9b4d47c91aed33d108e20a645c76ac6ffc78d50f [2/4] ARM: Print virtual memory info again
config: arm-randconfig-r013-20210412 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.g...
git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator test
git checkout 9b4d47c91aed33d108e20a645c76ac6ffc78d50f
# 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 warnings (new ones prefixed by >>):
arch/arm/mm/init.c:97:13: warning: no previous prototype for function 'setup_dma_zone' [-Wmissing-prototypes]
void __init setup_dma_zone(const struct machine_desc *mdesc)
^
arch/arm/mm/init.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init setup_dma_zone(const struct machine_desc *mdesc)
^
static
>> arch/arm/mm/init.c:296:13: warning: no previous prototype for function 'mem_init_print_arm_info' [-Wmissing-prototypes]
void __init mem_init_print_arm_info(void)
^
arch/arm/mm/init.c:296:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init mem_init_print_arm_info(void)
^
static
2 warnings generated.
vim +/mem_init_print_arm_info +296 arch/arm/mm/init.c
295
> 296 void __init mem_init_print_arm_info(void)
297 {
298 #define MLM(b, t) b, t, ((t) - (b)) >> 20
299 pr_notice("Virtual kernel memory layout:\n"
300 " fixmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
301 " vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
302 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n"
303 #ifdef CONFIG_MODULES
304 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n",
305 #endif
306 " kernel : 0x%08lx - 0x%08lx (%4ld MB)\n",
307 MLM(FIXADDR_START, FIXADDR_END),
308 MLM(VMALLOC_START, VMALLOC_END),
309 MLM(PAGE_OFFSET, (unsigned long)high_memory),
310 #ifdef CONFIG_MODULES
311 MLM(MODULES_VADDR, MODULES_END),
312 #endif
313 /* From beginning of .text to end of .bss */
314 MLM((unsigned long)_text, (unsigned long)__bss_stop));
315 #undef MLM
316 }
317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH RESEND 3/3] iwlwifi: integrate with iwlmei
by kernel test robot
Hi Emmanuel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on wireless-drivers/master char-misc/char-misc-testing v5.12-rc7 next-20210412]
[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/Emmanuel-Grumbach/mei-bus-add-cl...
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-ne... master
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
# https://github.com/0day-ci/linux/commit/282793cf36fcc2c1b65dd2ca6ba4abc0c...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Emmanuel-Grumbach/mei-bus-add-client-dma-interface/20210412-204450
git checkout 282793cf36fcc2c1b65dd2ca6ba4abc0cff126ac
# 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 errors (new ones prefixed by >>):
drivers/net/wireless/intel/iwlwifi/mvm/ops.c: In function 'iwl_mvm_start_post_nvm':
>> drivers/net/wireless/intel/iwlwifi/mvm/ops.c:715:2: error: implicit declaration of function 'wiphy_rfkill_set_hw_state_reason'; did you mean 'wiphy_rfkill_set_hw_state'? [-Werror=implicit-function-declaration]
715 | wiphy_rfkill_set_hw_state_reason(mvm->hw->wiphy,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| wiphy_rfkill_set_hw_state
>> drivers/net/wireless/intel/iwlwifi/mvm/ops.c:717:7: error: 'RFKILL_HARD_BLOCK_NOT_OWNER' undeclared (first use in this function)
717 | RFKILL_HARD_BLOCK_NOT_OWNER);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/intel/iwlwifi/mvm/ops.c:717:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/intel/iwlwifi/mvm/ops.c: In function 'iwl_mvm_mei_rfkill':
drivers/net/wireless/intel/iwlwifi/mvm/ops.c:754:7: error: 'RFKILL_HARD_BLOCK_NOT_OWNER' undeclared (first use in this function)
754 | RFKILL_HARD_BLOCK_NOT_OWNER);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +715 drivers/net/wireless/intel/iwlwifi/mvm/ops.c
699
700 static int iwl_mvm_start_post_nvm(struct iwl_mvm *mvm)
701 {
702 struct iwl_mvm_csme_conn_info *csme_conn_info __maybe_unused;
703 int ret;
704
705 iwl_mvm_toggle_tx_ant(mvm, &mvm->mgmt_last_antenna_idx);
706
707 ret = iwl_mvm_mac_setup_register(mvm);
708 if (ret)
709 return ret;
710
711 mvm->hw_registered = true;
712
713 iwl_mvm_dbgfs_register(mvm);
714
> 715 wiphy_rfkill_set_hw_state_reason(mvm->hw->wiphy,
716 mvm->mei_rfkill_blocked,
> 717 RFKILL_HARD_BLOCK_NOT_OWNER);
718 return 0;
719 }
720
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH] staging: media: omap4iss: Remove unused macro functions
by kernel test robot
Hi Aline,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on staging/staging-testing]
url: https://github.com/0day-ci/linux/commits/Aline-Santana-Cordeiro/staging-m...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git f2f560e1bdc055a6a306e6b7823ba589794e6564
config: sh-allmodconfig (attached as .config)
compiler: sh4-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/6cadf4b043c1d68e2afb77278b7d0deae...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Aline-Santana-Cordeiro/staging-media-omap4iss-Remove-unused-macro-functions/20210412-214331
git checkout 6cadf4b043c1d68e2afb77278b7d0deaee3a5222
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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 >>):
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_print_status':
>> drivers/staging/media/omap4iss/iss_ipipeif.c:51:27: error: implicit declaration of function 'to_iss_device'; did you mean 'to_spi_device'? [-Werror=implicit-function-declaration]
51 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
| to_spi_device
>> drivers/staging/media/omap4iss/iss_ipipeif.c:51:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_write_enable':
drivers/staging/media/omap4iss/iss_ipipeif.c:80:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
80 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_enable':
drivers/staging/media/omap4iss/iss_ipipeif.c:93:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
93 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_set_outaddr':
drivers/staging/media/omap4iss/iss_ipipeif.c:112:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
112 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_configure':
drivers/staging/media/omap4iss/iss_ipipeif.c:123:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
123 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_set_stream':
drivers/staging/media/omap4iss/iss_ipipeif.c:305:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
305 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_link_setup':
drivers/staging/media/omap4iss/iss_ipipeif.c:660:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
660 | struct iss_device *iss = to_iss_device(ipipeif);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipeif.c: In function 'ipipeif_init_entities':
>> drivers/staging/media/omap4iss/iss_ipipeif.c:755:25: warning: assignment to 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
755 | ipipeif->video_out.iss = to_iss_device(ipipeif);
| ^
cc1: some warnings being treated as errors
--
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_print_status':
>> drivers/staging/media/omap4iss/iss_ipipe.c:47:27: error: implicit declaration of function 'to_iss_device'; did you mean 'to_spi_device'? [-Werror=implicit-function-declaration]
47 | struct iss_device *iss = to_iss_device(ipipe);
| ^~~~~~~~~~~~~
| to_spi_device
>> drivers/staging/media/omap4iss/iss_ipipe.c:47:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_enable':
drivers/staging/media/omap4iss/iss_ipipe.c:72:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
72 | struct iss_device *iss = to_iss_device(ipipe);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_configure':
drivers/staging/media/omap4iss/iss_ipipe.c:84:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
84 | struct iss_device *iss = to_iss_device(ipipe);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_set_stream':
drivers/staging/media/omap4iss/iss_ipipe.c:131:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
131 | struct iss_device *iss = to_iss_device(ipipe);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_link_setup':
drivers/staging/media/omap4iss/iss_ipipe.c:444:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
444 | struct iss_device *iss = to_iss_device(ipipe);
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_print_status':
>> drivers/staging/media/omap4iss/iss_resizer.c:43:27: error: implicit declaration of function 'to_iss_device'; did you mean 'to_spi_device'? [-Werror=implicit-function-declaration]
43 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
| to_spi_device
>> drivers/staging/media/omap4iss/iss_resizer.c:43:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_enable':
drivers/staging/media/omap4iss/iss_resizer.c:113:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
113 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_set_outaddr':
drivers/staging/media/omap4iss/iss_resizer.c:136:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
136 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_configure':
drivers/staging/media/omap4iss/iss_resizer.c:183:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
183 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'omap4iss_resizer_isr':
drivers/staging/media/omap4iss/iss_resizer.c:288:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
288 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_set_stream':
drivers/staging/media/omap4iss/iss_resizer.c:353:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
353 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_link_setup':
drivers/staging/media/omap4iss/iss_resizer.c:714:27: warning: initialization of 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
714 | struct iss_device *iss = to_iss_device(resizer);
| ^~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_resizer.c: In function 'resizer_init_entities':
>> drivers/staging/media/omap4iss/iss_resizer.c:797:25: warning: assignment to 'struct iss_device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
797 | resizer->video_out.iss = to_iss_device(resizer);
| ^
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +51 drivers/staging/media/omap4iss/iss_ipipeif.c
714148260d0585 Sergio Aguirre 2011-01-24 30
714148260d0585 Sergio Aguirre 2011-01-24 31 /*
714148260d0585 Sergio Aguirre 2011-01-24 32 * ipipeif_print_status - Print current IPIPEIF Module register values.
714148260d0585 Sergio Aguirre 2011-01-24 33 * @ipipeif: Pointer to ISS ISP IPIPEIF device.
714148260d0585 Sergio Aguirre 2011-01-24 34 *
714148260d0585 Sergio Aguirre 2011-01-24 35 * Also prints other debug information stored in the IPIPEIF module.
714148260d0585 Sergio Aguirre 2011-01-24 36 */
714148260d0585 Sergio Aguirre 2011-01-24 37 #define IPIPEIF_PRINT_REGISTER(iss, name)\
714148260d0585 Sergio Aguirre 2011-01-24 38 dev_dbg(iss->dev, "###IPIPEIF " #name "=0x%08x\n", \
11abbfd30f74f7 Laurent Pinchart 2013-08-30 39 iss_reg_read(iss, OMAP4_ISS_MEM_ISP_IPIPEIF, IPIPEIF_##name))
714148260d0585 Sergio Aguirre 2011-01-24 40
714148260d0585 Sergio Aguirre 2011-01-24 41 #define ISIF_PRINT_REGISTER(iss, name)\
714148260d0585 Sergio Aguirre 2011-01-24 42 dev_dbg(iss->dev, "###ISIF " #name "=0x%08x\n", \
11abbfd30f74f7 Laurent Pinchart 2013-08-30 43 iss_reg_read(iss, OMAP4_ISS_MEM_ISP_ISIF, ISIF_##name))
714148260d0585 Sergio Aguirre 2011-01-24 44
714148260d0585 Sergio Aguirre 2011-01-24 45 #define ISP5_PRINT_REGISTER(iss, name)\
714148260d0585 Sergio Aguirre 2011-01-24 46 dev_dbg(iss->dev, "###ISP5 " #name "=0x%08x\n", \
11abbfd30f74f7 Laurent Pinchart 2013-08-30 47 iss_reg_read(iss, OMAP4_ISS_MEM_ISP_SYS1, ISP5_##name))
714148260d0585 Sergio Aguirre 2011-01-24 48
714148260d0585 Sergio Aguirre 2011-01-24 49 static void ipipeif_print_status(struct iss_ipipeif_device *ipipeif)
714148260d0585 Sergio Aguirre 2011-01-24 50 {
714148260d0585 Sergio Aguirre 2011-01-24 @51 struct iss_device *iss = to_iss_device(ipipeif);
714148260d0585 Sergio Aguirre 2011-01-24 52
714148260d0585 Sergio Aguirre 2011-01-24 53 dev_dbg(iss->dev, "-------------IPIPEIF Register dump-------------\n");
714148260d0585 Sergio Aguirre 2011-01-24 54
714148260d0585 Sergio Aguirre 2011-01-24 55 IPIPEIF_PRINT_REGISTER(iss, CFG1);
714148260d0585 Sergio Aguirre 2011-01-24 56 IPIPEIF_PRINT_REGISTER(iss, CFG2);
714148260d0585 Sergio Aguirre 2011-01-24 57
714148260d0585 Sergio Aguirre 2011-01-24 58 ISIF_PRINT_REGISTER(iss, SYNCEN);
714148260d0585 Sergio Aguirre 2011-01-24 59 ISIF_PRINT_REGISTER(iss, CADU);
714148260d0585 Sergio Aguirre 2011-01-24 60 ISIF_PRINT_REGISTER(iss, CADL);
714148260d0585 Sergio Aguirre 2011-01-24 61 ISIF_PRINT_REGISTER(iss, MODESET);
714148260d0585 Sergio Aguirre 2011-01-24 62 ISIF_PRINT_REGISTER(iss, CCOLP);
714148260d0585 Sergio Aguirre 2011-01-24 63 ISIF_PRINT_REGISTER(iss, SPH);
714148260d0585 Sergio Aguirre 2011-01-24 64 ISIF_PRINT_REGISTER(iss, LNH);
714148260d0585 Sergio Aguirre 2011-01-24 65 ISIF_PRINT_REGISTER(iss, LNV);
54d0059c7bbc26 Laurent Pinchart 2013-08-28 66 ISIF_PRINT_REGISTER(iss, VDINT(0));
714148260d0585 Sergio Aguirre 2011-01-24 67 ISIF_PRINT_REGISTER(iss, HSIZE);
714148260d0585 Sergio Aguirre 2011-01-24 68
714148260d0585 Sergio Aguirre 2011-01-24 69 ISP5_PRINT_REGISTER(iss, SYSCONFIG);
714148260d0585 Sergio Aguirre 2011-01-24 70 ISP5_PRINT_REGISTER(iss, CTRL);
714148260d0585 Sergio Aguirre 2011-01-24 71 ISP5_PRINT_REGISTER(iss, IRQSTATUS(0));
714148260d0585 Sergio Aguirre 2011-01-24 72 ISP5_PRINT_REGISTER(iss, IRQENABLE_SET(0));
714148260d0585 Sergio Aguirre 2011-01-24 73 ISP5_PRINT_REGISTER(iss, IRQENABLE_CLR(0));
714148260d0585 Sergio Aguirre 2011-01-24 74
714148260d0585 Sergio Aguirre 2011-01-24 75 dev_dbg(iss->dev, "-----------------------------------------------\n");
714148260d0585 Sergio Aguirre 2011-01-24 76 }
714148260d0585 Sergio Aguirre 2011-01-24 77
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[superna9999:narmstrong/v5.12/it66121-dev 9/14] drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of function 'gpiod_set_value'
by kernel test robot
tree: https://github.com/superna9999/linux narmstrong/v5.12/it66121-dev
head: aefbe6420b44fb3e04b147e1db8e608bbec252c6
commit: ae611ce1b3d1e2e5832273977b7e0656b9600ed0 [9/14] drm: bridge: add it66121 driver
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/superna9999/linux/commit/ae611ce1b3d1e2e5832273977b7e0...
git remote add superna9999 https://github.com/superna9999/linux
git fetch --no-tags superna9999 narmstrong/v5.12/it66121-dev
git checkout ae611ce1b3d1e2e5832273977b7e0656b9600ed0
# 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 errors (new ones prefixed by >>):
In file included from include/linux/dev_printk.h:14,
from include/linux/device.h:15,
from drivers/gpu/drm/bridge/ite-it66121.c:10:
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/gpu/drm/bridge/ite-it66121.c: In function 'it66121_hw_reset':
>> drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
242 | gpiod_set_value(ctx->gpio_reset, 1);
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/ite-it66121.c: In function 'it66121_probe':
>> drivers/gpu/drm/bridge/ite-it66121.c:1016:16: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
1016 | revision_id = FIELD_GET(IT66121_REVISION_MASK, device_ids[1]);
| ^~~~~~~~~
| FOLL_GET
cc1: some warnings being treated as errors
vim +/gpiod_set_value +242 drivers/gpu/drm/bridge/ite-it66121.c
239
240 static void it66121_hw_reset(struct it66121_ctx *ctx)
241 {
> 242 gpiod_set_value(ctx->gpio_reset, 1);
243 msleep(20);
244 gpiod_set_value(ctx->gpio_reset, 0);
245 }
246
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [Outreachy kernel][PATCH 2/4] Replace macro function by static inline function in file iss_ipipe.c
by kernel test robot
Hi Aline,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.12-rc7 next-20210412]
[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/Aline-Santana-Cordeiro/Replace-m...
base: git://linuxtv.org/media_tree.git master
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
# https://github.com/0day-ci/linux/commit/be8ef400d02afa928839bd6264ba2100a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Aline-Santana-Cordeiro/Replace-macro-function-by-static-inline-function-in-file-iss-c/20210412-213252
git checkout be8ef400d02afa928839bd6264ba2100ac02986d
# 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 warnings (new ones prefixed by >>):
drivers/staging/media/omap4iss/iss_ipipe.c:41:15: error: return type defaults to 'int' [-Werror=return-type]
41 | static inline ipipe_print_register(iss, name)
| ^~~~~~~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:41:15: error: function declaration isn't a prototype [-Werror=strict-prototypes]
drivers/staging/media/omap4iss/iss_ipipe.c: In function 'ipipe_print_register':
>> drivers/staging/media/omap4iss/iss_ipipe.c:41:15: warning: old-style function definition [-Wold-style-definition]
>> drivers/staging/media/omap4iss/iss_ipipe.c:41:15: warning: type of 'iss' defaults to 'int' [-Wmissing-parameter-type]
>> drivers/staging/media/omap4iss/iss_ipipe.c:41:15: warning: type of 'name' defaults to 'int' [-Wmissing-parameter-type]
In file included from include/linux/printk.h:409,
from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/staging/media/omap4iss/iss_ipipe.c:10:
drivers/staging/media/omap4iss/iss_ipipe.c:43:32: error: stray '#' in program
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^
include/linux/dynamic_debug.h:91:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
91 | .format = (fmt), \
| ^~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:2: note: in expansion of macro 'dev_dbg'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:33: error: expected ')' before 'name'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~
include/linux/dynamic_debug.h:91:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
91 | .format = (fmt), \
| ^~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:2: note: in expansion of macro 'dev_dbg'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~~~~
include/linux/dynamic_debug.h:91:13: note: to match this '('
91 | .format = (fmt), \
| ^
include/linux/dynamic_debug.h:127:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
127 | DEFINE_DYNAMIC_DEBUG_METADATA(id, fmt); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:2: note: in expansion of macro 'dev_dbg'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:13: error: invalid type argument of '->' (have 'int')
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~
include/linux/dynamic_debug.h:129:15: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:2: note: in expansion of macro 'dev_dbg'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:32: error: stray '#' in program
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^
include/linux/dynamic_debug.h:129:15: note: in definition of macro '__dynamic_func_call'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:161:2: note: in expansion of macro '_dynamic_func_call'
161 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:2: note: in expansion of macro 'dynamic_dev_dbg'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:123:23: note: in expansion of macro 'dev_fmt'
123 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:2: note: in expansion of macro 'dev_dbg'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
| ^~~~~~~
drivers/staging/media/omap4iss/iss_ipipe.c:43:33: error: expected ')' before 'name'
43 | dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
vim +41 drivers/staging/media/omap4iss/iss_ipipe.c
34
35 /*
36 * ipipe_print_status - Print current IPIPE Module register values.
37 * @ipipe: Pointer to ISS ISP IPIPE device.
38 *
39 * Also prints other debug information stored in the IPIPE module.
40 */
> 41 static inline ipipe_print_register(iss, name)
42 {
43 dev_dbg(iss->dev, "###IPIPE " #name "=0x%08x\n",
44 iss_reg_read(iss, OMAP4_ISS_MEM_ISP_IPIPE, IPIPE_##name));
45 }
46
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
/usr/bin/ld: atomic64_test.c:undefined reference to `atomic64_add_unless_386'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d434405aaab7d0ebc516b68a8fc4100922d7f5ef
commit: 37f8173dd84936ea78000ed1cad24f8b18d48ebb locking/atomics: Flip fallbacks and instrumentation
date: 10 months ago
config: um-randconfig-r022-20210412 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 37f8173dd84936ea78000ed1cad24f8b18d48ebb
# save the attached .config to linux build tree
make W=1 ARCH=um
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 >>):
/usr/bin/ld: atomic64_test.c:(.init.text+0x2a7b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2aed): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2b5b): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2b81): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2bf3): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2c61): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2c87): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2cf9): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2d67): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2d8d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2dff): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2e6d): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2e93): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2f05): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2f73): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x2f99): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x300b): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3079): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x309f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3111): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x317f): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x31a5): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3217): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3285): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x32ab): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x331d): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x338b): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x33b1): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3423): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3491): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x34b7): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3529): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3597): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x35b5): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x362d): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x369b): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x36a0): undefined reference to `atomic64_inc_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x370f): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3714): undefined reference to `atomic64_dec_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3788): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x378d): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x37f8): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x386e): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3873): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x38de): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3954): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3959): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x39c3): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3a38): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3a3d): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3aa8): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3b1e): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3b23): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3b8a): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3bfc): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3c01): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3c6c): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3ce2): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3ce7): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3d52): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3dc8): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3dcd): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3e37): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3eae): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3ebd): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3f2c): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3fa1): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x3fac): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4013): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4085): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4094): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4103): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4176): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4181): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x41f0): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4263): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4278): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x42e2): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4359): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x437c): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x43eb): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x445e): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4473): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x44da): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x454c): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4573): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x45e2): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4655): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x466a): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x46d1): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4744): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4759): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x47c3): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4838): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4851): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x48b8): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x492d): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4946): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: atomic64_test.c:(.init.text+0x49ad): undefined reference to `atomic64_read_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4a1f): undefined reference to `atomic64_set_386'
>> /usr/bin/ld: atomic64_test.c:(.init.text+0x4a2f): undefined reference to `atomic64_add_unless_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4ada): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4af0): undefined reference to `atomic64_add_unless_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4ba3): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4ba8): undefined reference to `atomic64_dec_if_positive_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4c76): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4c7b): undefined reference to `atomic64_dec_if_positive_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4d1e): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4d23): undefined reference to `atomic64_dec_if_positive_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4dd0): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4dd5): undefined reference to `atomic64_inc_not_zero_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4e82): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4e87): undefined reference to `atomic64_inc_not_zero_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4f1a): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4f1f): undefined reference to `atomic64_inc_not_zero_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4faf): undefined reference to `atomic64_set_386'
/usr/bin/ld: atomic64_test.c:(.init.text+0x4fb4): undefined reference to `atomic64_inc_not_zero_386'
/usr/bin/ld: drivers/md/raid1.o: in function `process_checks':
raid1.c:(.text+0x4ac8): undefined reference to `atomic64_add_386'
/usr/bin/ld: raid1.c:(.text+0x4bd2): undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/raid10.o: in function `sync_request_write':
raid10.c:(.text+0x342c): undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/raid5.o: in function `handle_parity_checks6.isra.0':
raid5.c:(.text+0x21fd): undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/raid5.o: in function `handle_stripe':
raid5.c:(.text+0x10202): undefined reference to `atomic64_add_386'
/usr/bin/ld: drivers/md/md.o: in function `mismatch_cnt_show':
md.c:(.text+0x9f1): undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/md.o: in function `md_do_sync':
md.c:(.text+0xa430): undefined reference to `atomic64_set_386'
/usr/bin/ld: drivers/md/md.o: in function `do_md_stop.cold':
md.c:(.text.unlikely+0x157f): undefined reference to `atomic64_set_386'
/usr/bin/ld: drivers/md/dm-raid.o: in function `raid_status':
dm-raid.c:(.text+0x2bb9): undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `dm_integrity_status':
dm-integrity.c:(.text+0x4fa): undefined reference to `atomic64_read_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `do_crypt':
dm-integrity.c:(.text+0x11ae): undefined reference to `atomic64_inc_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `section_mac':
dm-integrity.c:(.text+0x13cc): undefined reference to `atomic64_inc_386'
/usr/bin/ld: dm-integrity.c:(.text+0x146e): undefined reference to `atomic64_inc_386'
/usr/bin/ld: dm-integrity.c:(.text+0x1539): undefined reference to `atomic64_inc_386'
/usr/bin/ld: drivers/md/dm-integrity.o: in function `integrity_sector_checksum':
dm-integrity.c:(.text+0x1c18): undefined reference to `atomic64_inc_386'
/usr/bin/ld: drivers/md/dm-integrity.o:dm-integrity.c:(.text+0x1c53): more undefined references to `atomic64_inc_386' follow
/usr/bin/ld: drivers/md/dm-integrity.o: in function `dm_integrity_ctr':
dm-integrity.c:(.text+0xbb50): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/sched/cputime.o: in function `account_user_time':
cputime.c:(.text+0x78): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/cputime.o: in function `account_guest_time':
cputime.c:(.text+0x1bb): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/cputime.o: in function `account_system_index_time':
cputime.c:(.text+0x29b): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/rt.o: in function `update_curr_rt':
rt.c:(.text+0x11d3): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/sched/deadline.o: in function `update_curr_dl':
deadline.c:(.text+0x356e): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `cpu_clock_sample_group':
posix-cpu-timers.c:(.text+0x320): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x331): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x34a): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x35d): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x36c): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x417): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x430): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x45d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x476): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x4a3): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x4bc): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `thread_group_sample_cputime':
posix-cpu-timers.c:(.text+0x1ebd): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x1ecc): undefined reference to `atomic64_read_386'
/usr/bin/ld: posix-cpu-timers.c:(.text+0x1edd): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `run_posix_cpu_timers':
posix-cpu-timers.c:(.text+0x2387): undefined reference to `atomic64_read_386'
/usr/bin/ld: kernel/time/posix-cpu-timers.o:posix-cpu-timers.c:(.text+0x239a): more undefined references to `atomic64_read_386' follow
/usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter':
trace_clock.c:(.text+0x102): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run':
core.c:(.text+0x2691): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get.constprop.0':
syscall.c:(.text+0x1028): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0x108c): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
syscall.c:(.text+0x55a9): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
syscall.c:(.text+0x566e): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x59c6): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x59d1): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load':
syscall.c:(.text+0x65f6): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x6e47): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x6e61): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x6e69): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x6f1e): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months