From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: drivers/bus/fsl-mc/fsl-mc-bus.c:196:8-16: WARNING: please use sysfs_emit or sysfs_emit_at
Date: Mon, 2 Dec 2024 09:49:04 +0800 [thread overview]
Message-ID: <202412020953.GEUWd4DF-lkp@intel.com> (raw)
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
reply other threads:[~2024-12-02 1:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202412020953.GEUWd4DF-lkp@intel.com \
--to=lkp@intel.com \
--cc=julia.lawall@inria.fr \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.