All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/bus/fsl-mc/fsl-mc-bus.c:196:8-16: WARNING: please use sysfs_emit or sysfs_emit_at
@ 2024-12-02  1:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-02  1:49 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Bharat Bhushan <Bharat.Bhushan@nxp.com>
CC: Laurentiu Tudor <laurentiu.tudor@nxp.com>
CC: Diana Craciun <diana.craciun@oss.nxp.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   40384c840ea1944d7c5a392e8975ed088ecf0b37
commit: 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d bus/fsl-mc: add support for 'driver_override' in the mc-bus
date:   4 years, 2 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 4 years, 2 months ago
config: arm64-randconfig-r052-20241114 (https://download.01.org/0day-ci/archive/20241202/202412020953.GEUWd4DF-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0

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>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202412020953.GEUWd4DF-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/bus/fsl-mc/fsl-mc-bus.c:196:8-16: WARNING: please use sysfs_emit or sysfs_emit_at

vim +196 drivers/bus/fsl-mc/fsl-mc-bus.c

1f86a00c1159fd Bharat Bhushan 2020-09-29  190  
1f86a00c1159fd Bharat Bhushan 2020-09-29  191  static ssize_t driver_override_show(struct device *dev,
1f86a00c1159fd Bharat Bhushan 2020-09-29  192  				    struct device_attribute *attr, char *buf)
1f86a00c1159fd Bharat Bhushan 2020-09-29  193  {
1f86a00c1159fd Bharat Bhushan 2020-09-29  194  	struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
1f86a00c1159fd Bharat Bhushan 2020-09-29  195  
1f86a00c1159fd Bharat Bhushan 2020-09-29 @196  	return snprintf(buf, PAGE_SIZE, "%s\n", mc_dev->driver_override);
1f86a00c1159fd Bharat Bhushan 2020-09-29  197  }
1f86a00c1159fd Bharat Bhushan 2020-09-29  198  static DEVICE_ATTR_RW(driver_override);
1f86a00c1159fd Bharat Bhushan 2020-09-29  199  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-02  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02  1:49 drivers/bus/fsl-mc/fsl-mc-bus.c:196:8-16: WARNING: please use sysfs_emit or sysfs_emit_at kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.