All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
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/fsi/fsi-master-ast-cf.c:1083:8-16: WARNING: please use sysfs_emit or sysfs_emit_at
Date: Fri, 19 Apr 2024 21:01:39 +0800	[thread overview]
Message-ID: <202404192006.bRG2jyOb-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Benjamin Herrenschmidt <benh@kernel.crashing.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2668e3ae2ef36d5e7c52f818ad7d90822c037de4
commit: 6a794a27daca9c5a39de13c03b0748bb2d4a7a70 fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire
date:   6 years ago
:::::: branch date: 18 hours ago
:::::: commit date: 6 years ago
config: arm-randconfig-r063-20240419 (https://download.01.org/0day-ci/archive/20240419/202404192006.bRG2jyOb-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.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/202404192006.bRG2jyOb-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/fsi/fsi-master-ast-cf.c:1083:8-16: WARNING: please use sysfs_emit or sysfs_emit_at

vim +1083 drivers/fsi/fsi-master-ast-cf.c

6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1077  
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1078  static ssize_t external_mode_show(struct device *dev,
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1079  				  struct device_attribute *attr, char *buf)
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1080  {
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1081  	struct fsi_master_acf *master = dev_get_drvdata(dev);
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1082  
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12 @1083  	return snprintf(buf, PAGE_SIZE - 1, "%u\n",
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1084  			master->external_mode ? 1 : 0);
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1085  }
6a794a27daca9c Benjamin Herrenschmidt 2018-06-12  1086  

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

                 reply	other threads:[~2024-04-19 13:01 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=202404192006.bRG2jyOb-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.