* Re: [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management
[not found] <20250514122432.4019606-2-raag.jadav@intel.com>
@ 2025-05-14 15:27 ` kernel test robot
2025-05-14 15:58 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-14 15:27 UTC (permalink / raw)
To: Raag Jadav, gregkh, david.m.ertman, ira.weiny, lee,
andriy.shevchenko, mika.westerberg, heikki.krogerus
Cc: oe-kbuild-all, linux-kernel, Raag Jadav
Hi Raag,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus staging/staging-testing staging/staging-next staging/staging-linus linus/master v6.15-rc6 next-20250514]
[cannot apply to lee-mfd/for-mfd-fixes]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Raag-Jadav/driver-core-auxiliary-bus-Introduce-auxiliary-device-resource-management/20250514-202748
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20250514122432.4019606-2-raag.jadav%40intel.com
patch subject: [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management
config: arm-randconfig-003-20250514 (https://download.01.org/0day-ci/archive/20250514/202505142347.7wqzaBvR-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250514/202505142347.7wqzaBvR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505142347.7wqzaBvR-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/bridge/ti-sn65dsi86.c:8:0:
include/linux/auxiliary_bus.h: In function 'auxiliary_device_uninit':
include/linux/auxiliary_bus.h:246:3: error: implicit declaration of function 'kfree'; did you mean '__free'? [-Werror=implicit-function-declaration]
kfree(auxdev->resource);
^~~~~
__free
In file included from arch/arm/include/asm/pgtable-nommu.h:13:0,
from arch/arm/include/asm/pgtable.h:25,
from arch/arm/include/asm/uaccess.h:17,
from include/linux/uaccess.h:12,
from include/linux/sched/task.h:13,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:34,
from include/linux/debugfs.h:15,
from drivers/gpu/drm/bridge/ti-sn65dsi86.c:12:
include/linux/slab.h: At top level:
>> include/linux/slab.h:472:6: warning: conflicting types for 'kfree'
void kfree(const void *objp);
^~~~~
In file included from drivers/gpu/drm/bridge/ti-sn65dsi86.c:8:0:
include/linux/auxiliary_bus.h:246:3: note: previous implicit declaration of 'kfree' was here
kfree(auxdev->resource);
^~~~~
cc1: some warnings being treated as errors
vim +/kfree +472 include/linux/slab.h
7bd230a26648ac Suren Baghdasaryan 2024-03-21 471
72d67229f522e3 Kees Cook 2021-11-05 @472 void kfree(const void *objp);
72d67229f522e3 Kees Cook 2021-11-05 473 void kfree_sensitive(const void *objp);
72d67229f522e3 Kees Cook 2021-11-05 474 size_t __ksize(const void *objp);
05a940656e1eb2 Kees Cook 2022-09-23 475
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management
[not found] <20250514122432.4019606-2-raag.jadav@intel.com>
2025-05-14 15:27 ` [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management kernel test robot
@ 2025-05-14 15:58 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-14 15:58 UTC (permalink / raw)
To: Raag Jadav, gregkh, david.m.ertman, ira.weiny, lee,
andriy.shevchenko, mika.westerberg, heikki.krogerus
Cc: llvm, oe-kbuild-all, linux-kernel, Raag Jadav
Hi Raag,
kernel test robot noticed the following build errors:
[auto build test ERROR on lee-mfd/for-mfd-next]
[also build test ERROR on driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus staging/staging-testing staging/staging-next staging/staging-linus linus/master v6.15-rc6 next-20250514]
[cannot apply to lee-mfd/for-mfd-fixes]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Raag-Jadav/driver-core-auxiliary-bus-Introduce-auxiliary-device-resource-management/20250514-202748
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20250514122432.4019606-2-raag.jadav%40intel.com
patch subject: [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management
config: arm-randconfig-002-20250514 (https://download.01.org/0day-ci/archive/20250514/202505142345.jLaHG90C-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250514/202505142345.jLaHG90C-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505142345.jLaHG90C-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/base/auxiliary_sysfs.c:6:
>> include/linux/auxiliary_bus.h:246:3: error: call to undeclared function 'kfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
246 | kfree(auxdev->resource);
| ^
In file included from drivers/base/auxiliary_sysfs.c:7:
>> include/linux/slab.h:472:6: error: conflicting types for 'kfree'
472 | void kfree(const void *objp);
| ^
include/linux/auxiliary_bus.h:246:3: note: previous implicit declaration is here
246 | kfree(auxdev->resource);
| ^
2 errors generated.
vim +/kfree +246 include/linux/auxiliary_bus.h
242
243 static inline void auxiliary_device_uninit(struct auxiliary_device *auxdev)
244 {
245 if (auxdev->resource)
> 246 kfree(auxdev->resource);
247
248 mutex_destroy(&auxdev->sysfs.lock);
249 put_device(&auxdev->dev);
250 }
251
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-14 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250514122432.4019606-2-raag.jadav@intel.com>
2025-05-14 15:27 ` [PATCH v5 1/2] driver core: auxiliary bus: Introduce auxiliary device resource management kernel test robot
2025-05-14 15:58 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).