[chrome-os:chromeos-4.4 4/216] include/linux/clk.h:628:35: error: passing argument 2 of 'clk_bulk_prepare' from incompatible pointer type
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: a321cfdc9afc13deeb29da992f74141226f914c8
commit: dee1850ff865c718860372afc1b2ff90da07abfa [4/216] BACKPORT: clk: Provide bulk prepare_enable disable_unprepare variants
config: sparc64-randconfig-p002-20210318 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.5.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 remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout dee1850ff865c718860372afc1b2ff90da07abfa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=sparc64
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/sparc/include/asm/spinlock.h:4:0,
from include/linux/spinlock.h:87,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from arch/sparc/kernel/time_64.c:13:
arch/sparc/include/asm/spinlock_64.h:95:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static void inline arch_read_lock(arch_rwlock_t *lock)
^~~~~~
arch/sparc/include/asm/spinlock_64.h:118:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static int inline arch_read_trylock(arch_rwlock_t *lock)
^~~~~~
arch/sparc/include/asm/spinlock_64.h:139:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static void inline arch_read_unlock(arch_rwlock_t *lock)
^~~~~~
arch/sparc/include/asm/spinlock_64.h:155:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static void inline arch_write_lock(arch_rwlock_t *lock)
^~~~~~
arch/sparc/include/asm/spinlock_64.h:180:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static void inline arch_write_unlock(arch_rwlock_t *lock)
^~~~~~
arch/sparc/include/asm/spinlock_64.h:189:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
static int inline arch_write_trylock(arch_rwlock_t *lock)
^~~~~~
In file included from include/linux/cpufreq.h:14:0,
from arch/sparc/kernel/time_64.c:28:
include/linux/clk.h:199:57: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
static inline int clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:223:60: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:528:18: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:539:16: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:546:54: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
static inline void clk_bulk_put(int num_clks, struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:555:56: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
static inline int clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:564:16: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:624:15: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_prepare_enable':
>> include/linux/clk.h:628:35: error: passing argument 2 of 'clk_bulk_prepare' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = clk_bulk_prepare(num_clks, clks);
^~~~
include/linux/clk.h:199:19: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~
>> include/linux/clk.h:631:34: error: passing argument 2 of 'clk_bulk_enable' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = clk_bulk_enable(num_clks, clks);
^~~~
include/linux/clk.h:555:19: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~
>> include/linux/clk.h:633:32: error: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Werror=incompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
include/linux/clk.h: At top level:
include/linux/clk.h:639:19: error: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_disable_unprepare':
>> include/linux/clk.h:641:29: error: passing argument 2 of 'clk_bulk_disable' from incompatible pointer type [-Werror=incompatible-pointer-types]
clk_bulk_disable(num_clks, clks);
^~~~
include/linux/clk.h:563:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_disable(int num_clks,
^~~~~~~~~~~~~~~~
include/linux/clk.h:642:31: error: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Werror=incompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/clk_bulk_prepare +628 include/linux/clk.h
622
623 static inline int clk_bulk_prepare_enable(int num_clks,
624 struct clk_bulk_data *clks)
625 {
626 int ret;
627
> 628 ret = clk_bulk_prepare(num_clks, clks);
629 if (ret)
630 return ret;
> 631 ret = clk_bulk_enable(num_clks, clks);
632 if (ret)
> 633 clk_bulk_unprepare(num_clks, clks);
634
635 return ret;
636 }
637
638 static inline void clk_bulk_disable_unprepare(int num_clks,
639 struct clk_bulk_data *clks)
640 {
> 641 clk_bulk_disable(num_clks, clks);
642 clk_bulk_unprepare(num_clks, clks);
643 }
644
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_511' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(struct canfd_frame, len) || offsetof(struct can_frame, data) != offsetof(struc...
by kernel test robot
Hi Oliver,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196
commit: c7b74967799b1af52b3045d69d4c26836b2d41de can: replace can_dlc as variable/element for payload length
date: 4 months ago
config: arm-randconfig-r004-20210318 (attached as .config)
compiler: arm-linux-gnueabi-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://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 c7b74967799b1af52b3045d69d4c26836b2d41de
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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 >>):
In file included from <command-line>:
net/can/af_can.c: In function 'can_init':
>> include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_511' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(struct canfd_frame, len) || offsetof(struct can_frame, data) != offsetof(struct canfd_frame, data)
315 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:296:4: note: in definition of macro '__compiletime_assert'
296 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
315 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
net/can/af_can.c:891:2: note: in expansion of macro 'BUILD_BUG_ON'
891 | BUILD_BUG_ON(offsetof(struct can_frame, len) !=
| ^~~~~~~~~~~~
vim +/__compiletime_assert_511 +315 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 301
eb5c2d4b45e3d2 Will Deacon 2020-07-21 302 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 303 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 304
eb5c2d4b45e3d2 Will Deacon 2020-07-21 305 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @315 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316
:::::: The code at line 315 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[arnd-playground:randconfig-v5.12 372/597] arch/x86/entry/entry_64.S:47:1: warning: DWARF2 only supports one section per compilation unit
by kernel test robot
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-v5.12
head: fd21c2581b744639b5207c11651ab40abf13701a
commit: 8c9828cf709354ab06136e924a5e2e6b5cdb12d2 [372/597] [HACK] always use integrated assembler with clang
config: x86_64-randconfig-a006-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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
# 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 randconfig-v5.12
git checkout 8c9828cf709354ab06136e924a5e2e6b5cdb12d2
# 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 warnings (new ones prefixed by >>):
>> arch/x86/entry/entry_64.S:47:1: warning: DWARF2 only supports one section per compilation unit
.section .entry.text, "ax"
^
>> <instantiation>:11:2: warning: DWARF2 only supports one section per compilation unit
.pushsection .altinstr_replacement,"ax"
^
<instantiation>:1:1: note: while in macro instantiation
ALTERNATIVE "jmp .Lend_2", "", ( 7*32+11)
^
arch/x86/entry/entry_64.S:93:2: note: while in macro instantiation
SWITCH_TO_KERNEL_CR3 scratch_reg=%rsp
^
arch/x86/entry/entry_64.S:741:2: warning: DWARF2 only supports one section per compilation unit
.section .fixup, "ax"
^
--
>> arch/x86/kernel/head_64.S:42:2: warning: DWARF2 only supports one section per compilation unit
.section ".head.text","ax"
^
arch/x86/kernel/head_64.S:352:2: warning: DWARF2 only supports one section per compilation unit
.section ".init.text","ax"
^
vim +47 arch/x86/entry/entry_64.S
6fd166aae78c0a arch/x86/entry/entry_64.S Peter Zijlstra 2017-12-04 45
^1da177e4c3f41 arch/x86_64/kernel/entry.S Linus Torvalds 2005-04-16 46 .code64
ea7145477a461e arch/x86/kernel/entry_64.S Jiri Olsa 2011-03-07 @47 .section .entry.text, "ax"
ea7145477a461e arch/x86/kernel/entry_64.S Jiri Olsa 2011-03-07 48
:::::: The code at line 47 was first introduced by commit
:::::: ea7145477a461e09d8d194cac4b996dc4f449107 x86: Separate out entry text section
:::::: TO: Jiri Olsa <jolsa(a)redhat.com>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[thierryreding:for-5.13/work 2/49] drivers/gpu/host1x/bus.c:720: warning: expecting prototype for host1x_client_register(). Prototype was for __host1x_client_register() instead
by kernel test robot
tree: https://github.com/thierryreding/linux for-5.13/work
head: 009ea3ee74a12859073a37d2ef800fa154ff7705
commit: 21e83ea5975c6e323f7b720ced5b045a91d6e808 [2/49] gpu: host1x: Use different lock classes for each client
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/thierryreding/linux/commit/21e83ea5975c6e323f7b720ced5...
git remote add thierryreding https://github.com/thierryreding/linux
git fetch --no-tags thierryreding for-5.13/work
git checkout 21e83ea5975c6e323f7b720ced5b045a91d6e808
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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 >>):
drivers/gpu/host1x/bus.c:720: warning: Function parameter or member 'key' not described in '__host1x_client_register'
>> drivers/gpu/host1x/bus.c:720: warning: expecting prototype for host1x_client_register(). Prototype was for __host1x_client_register() instead
vim +720 drivers/gpu/host1x/bus.c
776dc38403676f Thierry Reding 2013-10-14 706
466749f13e33d8 Thierry Reding 2017-04-10 707 /**
466749f13e33d8 Thierry Reding 2017-04-10 708 * host1x_client_register() - register a host1x client
466749f13e33d8 Thierry Reding 2017-04-10 709 * @client: host1x client
466749f13e33d8 Thierry Reding 2017-04-10 710 *
466749f13e33d8 Thierry Reding 2017-04-10 711 * Registers a host1x client with each host1x controller instance. Note that
466749f13e33d8 Thierry Reding 2017-04-10 712 * each client will only match their parent host1x controller and will only be
466749f13e33d8 Thierry Reding 2017-04-10 713 * associated with that instance. Once all clients have been registered with
466749f13e33d8 Thierry Reding 2017-04-10 714 * their parent host1x controller, the infrastructure will set up the logical
466749f13e33d8 Thierry Reding 2017-04-10 715 * device and call host1x_device_init(), which will in turn call each client's
466749f13e33d8 Thierry Reding 2017-04-10 716 * &host1x_client_ops.init implementation.
466749f13e33d8 Thierry Reding 2017-04-10 717 */
21e83ea5975c6e Mikko Perttunen 2021-01-11 718 int __host1x_client_register(struct host1x_client *client,
21e83ea5975c6e Mikko Perttunen 2021-01-11 719 struct lock_class_key *key)
776dc38403676f Thierry Reding 2013-10-14 @720 {
776dc38403676f Thierry Reding 2013-10-14 721 struct host1x *host1x;
776dc38403676f Thierry Reding 2013-10-14 722 int err;
776dc38403676f Thierry Reding 2013-10-14 723
fd67e9c6ed5af2 Thierry Reding 2019-12-02 724 INIT_LIST_HEAD(&client->list);
21e83ea5975c6e Mikko Perttunen 2021-01-11 725 __mutex_init(&client->lock, "host1x client lock", key);
fd67e9c6ed5af2 Thierry Reding 2019-12-02 726 client->usecount = 0;
fd67e9c6ed5af2 Thierry Reding 2019-12-02 727
776dc38403676f Thierry Reding 2013-10-14 728 mutex_lock(&devices_lock);
776dc38403676f Thierry Reding 2013-10-14 729
776dc38403676f Thierry Reding 2013-10-14 730 list_for_each_entry(host1x, &devices, list) {
0c7dfd36b73be6 Thierry Reding 2014-05-22 731 err = host1x_add_client(host1x, client);
776dc38403676f Thierry Reding 2013-10-14 732 if (!err) {
776dc38403676f Thierry Reding 2013-10-14 733 mutex_unlock(&devices_lock);
776dc38403676f Thierry Reding 2013-10-14 734 return 0;
776dc38403676f Thierry Reding 2013-10-14 735 }
776dc38403676f Thierry Reding 2013-10-14 736 }
776dc38403676f Thierry Reding 2013-10-14 737
776dc38403676f Thierry Reding 2013-10-14 738 mutex_unlock(&devices_lock);
776dc38403676f Thierry Reding 2013-10-14 739
776dc38403676f Thierry Reding 2013-10-14 740 mutex_lock(&clients_lock);
776dc38403676f Thierry Reding 2013-10-14 741 list_add_tail(&client->list, &clients);
776dc38403676f Thierry Reding 2013-10-14 742 mutex_unlock(&clients_lock);
776dc38403676f Thierry Reding 2013-10-14 743
776dc38403676f Thierry Reding 2013-10-14 744 return 0;
776dc38403676f Thierry Reding 2013-10-14 745 }
21e83ea5975c6e Mikko Perttunen 2021-01-11 746 EXPORT_SYMBOL(__host1x_client_register);
776dc38403676f Thierry Reding 2013-10-14 747
:::::: The code at line 720 was first introduced by commit
:::::: 776dc38403676f499a73d32e2e7c61eb5b42f736 drm/tegra: Move subdevice infrastructure to host1x
:::::: TO: Thierry Reding <treding(a)nvidia.com>
:::::: CC: Thierry Reding <treding(a)nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
by kernel test robot
Hi Jason,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196
commit: 07b586fe06625b0b610dc3d3a969c51913d143d4 crypto: x86/curve25519 - replace with formally verified implementation
date: 1 year, 1 month ago
config: x86_64-randconfig-a014-20210319 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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
# 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 07b586fe06625b0b610dc3d3a969c51913d143d4
# 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 >>):
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
" movq 0(%1), %%rdx;" /* f[0] */
^
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
>> arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available
19 errors generated.
vim +518 arch/x86/crypto/curve25519-x86_64.c
509
510 /* Computes the square of a field element: out <- f * f
511 * Uses the 8-element buffer tmp for intermediate results */
512 static inline void fsqr(u64 *out, const u64 *f, u64 *tmp)
513 {
514 asm volatile(
515 /* Compute the raw multiplication: tmp <- f * f */
516
517 /* Step 1: Compute all partial products */
> 518 " movq 0(%1), %%rdx;" /* f[0] */
519 " mulxq 8(%1), %%r8, %%r14;" " xor %%r15, %%r15;" /* f[1]*f[0] */
520 " mulxq 16(%1), %%r9, %%r10;" " adcx %%r14, %%r9;" /* f[2]*f[0] */
521 " mulxq 24(%1), %%rax, %%rcx;" " adcx %%rax, %%r10;" /* f[3]*f[0] */
522 " movq 24(%1), %%rdx;" /* f[3] */
523 " mulxq 8(%1), %%r11, %%r12;" " adcx %%rcx, %%r11;" /* f[1]*f[3] */
524 " mulxq 16(%1), %%rax, %%r13;" " adcx %%rax, %%r12;" /* f[2]*f[3] */
525 " movq 8(%1), %%rdx;" " adcx %%r15, %%r13;" /* f1 */
526 " mulxq 16(%1), %%rax, %%rcx;" " mov $0, %%r14;" /* f[2]*f[1] */
527
528 /* Step 2: Compute two parallel carry chains */
529 " xor %%r15, %%r15;"
530 " adox %%rax, %%r10;"
531 " adcx %%r8, %%r8;"
532 " adox %%rcx, %%r11;"
533 " adcx %%r9, %%r9;"
534 " adox %%r15, %%r12;"
535 " adcx %%r10, %%r10;"
536 " adox %%r15, %%r13;"
537 " adcx %%r11, %%r11;"
538 " adox %%r15, %%r14;"
539 " adcx %%r12, %%r12;"
540 " adcx %%r13, %%r13;"
541 " adcx %%r14, %%r14;"
542
543 /* Step 3: Compute intermediate squares */
544 " movq 0(%1), %%rdx;" " mulx %%rdx, %%rax, %%rcx;" /* f[0]^2 */
545 " movq %%rax, 0(%0);"
546 " add %%rcx, %%r8;" " movq %%r8, 8(%0);"
547 " movq 8(%1), %%rdx;" " mulx %%rdx, %%rax, %%rcx;" /* f[1]^2 */
548 " adcx %%rax, %%r9;" " movq %%r9, 16(%0);"
549 " adcx %%rcx, %%r10;" " movq %%r10, 24(%0);"
550 " movq 16(%1), %%rdx;" " mulx %%rdx, %%rax, %%rcx;" /* f[2]^2 */
551 " adcx %%rax, %%r11;" " movq %%r11, 32(%0);"
552 " adcx %%rcx, %%r12;" " movq %%r12, 40(%0);"
553 " movq 24(%1), %%rdx;" " mulx %%rdx, %%rax, %%rcx;" /* f[3]^2 */
554 " adcx %%rax, %%r13;" " movq %%r13, 48(%0);"
555 " adcx %%rcx, %%r14;" " movq %%r14, 56(%0);"
556
557 /* Line up pointers */
558 " mov %0, %1;"
559 " mov %2, %0;"
560
561 /* Wrap the result back into the field */
562
563 /* Step 1: Compute dst + carry == tmp_hi * 38 + tmp_lo */
564 " mov $38, %%rdx;"
565 " mulxq 32(%1), %%r8, %%r13;"
566 " xor %%rcx, %%rcx;"
567 " adoxq 0(%1), %%r8;"
568 " mulxq 40(%1), %%r9, %%r12;"
569 " adcx %%r13, %%r9;"
570 " adoxq 8(%1), %%r9;"
571 " mulxq 48(%1), %%r10, %%r13;"
572 " adcx %%r12, %%r10;"
573 " adoxq 16(%1), %%r10;"
574 " mulxq 56(%1), %%r11, %%rax;"
575 " adcx %%r13, %%r11;"
576 " adoxq 24(%1), %%r11;"
577 " adcx %%rcx, %%rax;"
578 " adox %%rcx, %%rax;"
579 " imul %%rdx, %%rax;"
580
581 /* Step 2: Fold the carry back into dst */
582 " add %%rax, %%r8;"
583 " adcx %%rcx, %%r9;"
584 " movq %%r9, 8(%0);"
585 " adcx %%rcx, %%r10;"
586 " movq %%r10, 16(%0);"
587 " adcx %%rcx, %%r11;"
588 " movq %%r11, 24(%0);"
589
590 /* Step 3: Fold the carry bit back in; guaranteed not to carry at this point */
591 " mov $0, %%rax;"
592 " cmovc %%rdx, %%rax;"
593 " add %%rax, %%r8;"
594 " movq %%r8, 0(%0);"
595 : "+&r" (tmp), "+&r" (f), "+&r" (out)
596 :
597 : "%rax", "%rcx", "%rdx", "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15", "memory", "cc"
598 );
599 }
600
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH RFC 3/3] mm/vmalloc: remove vwrite()
by kernel test robot
Hi David,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on m68k/for-next]
[also build test WARNING on sparc/master char-misc/char-misc-testing linus/master v5.12-rc3 next-20210319]
[cannot apply to uclinux-h8/h8300-next hnaz-linux-mm/master sparc-next/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/David-Hildenbrand/drivers-char-r...
base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next
config: h8300-randconfig-r004-20210318 (attached as .config)
compiler: h8300-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/7c68ea58a063d3f2d811e4b9cc0cee351...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Hildenbrand/drivers-char-remove-dev-kmem-for-good/20210319-223811
git checkout 7c68ea58a063d3f2d811e4b9cc0cee3514bed08f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
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 arch/h8300/include/asm/page.h:5,
from arch/h8300/include/asm/thread_info.h:12,
from include/linux/thread_info.h:58,
from include/asm-generic/preempt.h:5,
from ./arch/h8300/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from mm/nommu.c:20:
mm/nommu.c: In function 'kobjsize':
include/asm-generic/page.h:89:50: warning: ordered comparison of pointer with null pointer [-Wextra]
89 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
mm/nommu.c:81:16: note: in expansion of macro 'virt_addr_valid'
81 | if (!objp || !virt_addr_valid(objp))
| ^~~~~~~~~~~~~~~
mm/nommu.c: At top level:
>> mm/nommu.c:213:6: warning: no previous prototype for 'vwrite' [-Wmissing-prototypes]
213 | long vwrite(char *buf, char *addr, unsigned long count)
| ^~~~~~
mm/nommu.c:1658:15: warning: no previous prototype for 'arch_get_unmapped_area' [-Wmissing-prototypes]
1658 | unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/vwrite +213 mm/nommu.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 212
^1da177e4c3f41 Linus Torvalds 2005-04-16 @213 long vwrite(char *buf, char *addr, unsigned long count)
^1da177e4c3f41 Linus Torvalds 2005-04-16 214 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 215 /* Don't allow overflow */
^1da177e4c3f41 Linus Torvalds 2005-04-16 216 if ((unsigned long) addr + count < count)
^1da177e4c3f41 Linus Torvalds 2005-04-16 217 count = -(unsigned long) addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 218
^1da177e4c3f41 Linus Torvalds 2005-04-16 219 memcpy(addr, buf, count);
ac7149045d9fcc Choi Gi-yong 2014-04-07 220 return count;
^1da177e4c3f41 Linus Torvalds 2005-04-16 221 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 222
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[chrome-os:chromeos-4.4 61/216] drivers/staging/media/rkisp1/rkisp1-params.c:1605:8: error: implicit declaration of function 'media_entity_pads_init'; did you mean
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: a321cfdc9afc13deeb29da992f74141226f914c8
commit: 2f4c504ed6acc59c1ffdf0d66ddc7a0df31fd835 [61/216] UPSTREAM: media: staging: rkisp1: add output device for parameters
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 7.5.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 remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout 2f4c504ed6acc59c1ffdf0d66ddc7a0df31fd835
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the chrome-os/chromeos-4.4 HEAD a321cfdc9afc13deeb29da992f74141226f914c8 builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
In file included from include/linux/poll.h:5:0,
from include/media/v4l2-dev.h:12,
from include/media/v4l2-common.h:29,
from drivers/staging/media/rkisp1/rkisp1-params.c:8:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/nios2/include/asm/page.h:90:33: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
# define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && \
^
include/linux/compiler.h:182:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/scatterlist.h:140:2: note: in expansion of macro 'BUG_ON'
BUG_ON(!virt_addr_valid(buf));
^~~~~~
arch/nios2/include/asm/page.h:94:33: note: in expansion of macro 'pfn_valid'
# define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
^~~~~~~~~
include/linux/scatterlist.h:140:10: note: in expansion of macro 'virt_addr_valid'
BUG_ON(!virt_addr_valid(buf));
^~~~~~~~~~~~~~~
In file included from drivers/staging/media/rkisp1/rkisp1-common.h:14:0,
from drivers/staging/media/rkisp1/rkisp1-params.c:14:
include/linux/clk.h: At top level:
include/linux/clk.h:199:70: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline int __must_check clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:223:60: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:528:17: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:539:15: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:546:54: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline void clk_bulk_put(int num_clks, struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:555:69: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline int __must_check clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:564:16: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:624:13: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_prepare_enable':
include/linux/clk.h:628:35: warning: passing argument 2 of 'clk_bulk_prepare' from incompatible pointer type [-Wincompatible-pointer-types]
ret = clk_bulk_prepare(num_clks, clks);
^~~~
include/linux/clk.h:199:32: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int __must_check clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~
include/linux/clk.h:631:34: warning: passing argument 2 of 'clk_bulk_enable' from incompatible pointer type [-Wincompatible-pointer-types]
ret = clk_bulk_enable(num_clks, clks);
^~~~
include/linux/clk.h:555:32: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int __must_check clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~
include/linux/clk.h:633:32: warning: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
include/linux/clk.h: At top level:
include/linux/clk.h:639:19: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_disable_unprepare':
include/linux/clk.h:641:29: warning: passing argument 2 of 'clk_bulk_disable' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_disable(num_clks, clks);
^~~~
include/linux/clk.h:563:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_disable(int num_clks,
^~~~~~~~~~~~~~~~
include/linux/clk.h:642:31: warning: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
In file included from drivers/staging/media/rkisp1/rkisp1-params.c:14:0:
drivers/staging/media/rkisp1/rkisp1-common.h: At top level:
drivers/staging/media/rkisp1/rkisp1-common.h:253:23: error: array type has incomplete element type 'struct clk_bulk_data'
struct clk_bulk_data clks[RKISP1_MAX_BUS_CLK];
^~~~
>> drivers/staging/media/rkisp1/rkisp1-params.c:1528:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.queue_setup = rkisp1_params_vb2_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/media/rkisp1/rkisp1-params.c:1528:17: note: (near initialization for 'rkisp1_params_vb2_ops.queue_setup')
drivers/staging/media/rkisp1/rkisp1-params.c: In function 'rkisp1_params_register':
>> drivers/staging/media/rkisp1/rkisp1-params.c:1605:8: error: implicit declaration of function 'media_entity_pads_init'; did you mean 'media_entity_init'? [-Werror=implicit-function-declaration]
ret = media_entity_pads_init(&vdev->entity, 1, &node->pad);
^~~~~~~~~~~~~~~~~~~~~~
media_entity_init
cc1: some warnings being treated as errors
vim +1605 drivers/staging/media/rkisp1/rkisp1-params.c
1526
1527 static struct vb2_ops rkisp1_params_vb2_ops = {
> 1528 .queue_setup = rkisp1_params_vb2_queue_setup,
1529 .wait_prepare = vb2_ops_wait_prepare,
1530 .wait_finish = vb2_ops_wait_finish,
1531 .buf_queue = rkisp1_params_vb2_buf_queue,
1532 .buf_prepare = rkisp1_params_vb2_buf_prepare,
1533 .start_streaming = rkisp1_params_vb2_start_streaming,
1534 .stop_streaming = rkisp1_params_vb2_stop_streaming,
1535
1536 };
1537
1538 static struct v4l2_file_operations rkisp1_params_fops = {
1539 .mmap = vb2_fop_mmap,
1540 .unlocked_ioctl = video_ioctl2,
1541 .poll = vb2_fop_poll,
1542 .open = v4l2_fh_open,
1543 .release = vb2_fop_release
1544 };
1545
1546 static int rkisp1_params_init_vb2_queue(struct vb2_queue *q,
1547 struct rkisp1_params *params)
1548 {
1549 struct rkisp1_vdev_node *node;
1550
1551 node = container_of(q, struct rkisp1_vdev_node, buf_queue);
1552
1553 q->type = V4L2_BUF_TYPE_META_OUTPUT;
1554 q->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF;
1555 q->drv_priv = params;
1556 q->ops = &rkisp1_params_vb2_ops;
1557 q->mem_ops = &vb2_vmalloc_memops;
1558 q->buf_struct_size = sizeof(struct rkisp1_buffer);
1559 q->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
1560 q->lock = &node->vlock;
1561
1562 return vb2_queue_init(q);
1563 }
1564
1565 static void rkisp1_init_params(struct rkisp1_params *params)
1566 {
1567 params->vdev_fmt.fmt.meta.dataformat =
1568 V4L2_META_FMT_RK_ISP1_PARAMS;
1569 params->vdev_fmt.fmt.meta.buffersize =
1570 sizeof(struct rkisp1_params_cfg);
1571 }
1572
1573 int rkisp1_params_register(struct rkisp1_params *params,
1574 struct v4l2_device *v4l2_dev,
1575 struct rkisp1_device *rkisp1)
1576 {
1577 struct rkisp1_vdev_node *node = ¶ms->vnode;
1578 struct video_device *vdev = &node->vdev;
1579 int ret;
1580
1581 params->rkisp1 = rkisp1;
1582 mutex_init(&node->vlock);
1583 spin_lock_init(¶ms->config_lock);
1584
1585 strscpy(vdev->name, RKISP1_PARAMS_DEV_NAME, sizeof(vdev->name));
1586
1587 video_set_drvdata(vdev, params);
1588 vdev->ioctl_ops = &rkisp1_params_ioctl;
1589 vdev->fops = &rkisp1_params_fops;
1590 vdev->release = video_device_release_empty;
1591 /*
1592 * Provide a mutex to v4l2 core. It will be used
1593 * to protect all fops and v4l2 ioctls.
1594 */
1595 vdev->lock = &node->vlock;
1596 vdev->v4l2_dev = v4l2_dev;
1597 vdev->queue = &node->buf_queue;
1598 vdev->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_META_OUTPUT;
1599 vdev->vfl_dir = VFL_DIR_TX;
1600 rkisp1_params_init_vb2_queue(vdev->queue, params);
1601 rkisp1_init_params(params);
1602 video_set_drvdata(vdev, params);
1603
1604 node->pad.flags = MEDIA_PAD_FL_SOURCE;
> 1605 ret = media_entity_pads_init(&vdev->entity, 1, &node->pad);
1606 if (ret)
1607 goto err_release_queue;
1608 ret = video_register_device(vdev, VFL_TYPE_GRABBER, -1);
1609 if (ret) {
1610 dev_err(&vdev->dev,
1611 "failed to register %s, ret=%d\n", vdev->name, ret);
1612 goto err_cleanup_media_entity;
1613 }
1614 return 0;
1615 err_cleanup_media_entity:
1616 media_entity_cleanup(&vdev->entity);
1617 err_release_queue:
1618 vb2_queue_release(vdev->queue);
1619 return ret;
1620 }
1621
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months