All of 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: [xilinx-xlnx:lkp_test 298/504] drivers/fpga/fpga-mgr.c:692:8-16: WARNING: please use sysfs_emit or sysfs_emit_at
Date: Sun, 12 Jan 2025 00:54:07 +0800	[thread overview]
Message-ID: <202501120054.h1T4BTDV-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: git@amd.com
TO: Nava kishore Manne <nava.manne@xilinx.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>

tree:   https://github.com/Xilinx/linux-xlnx lkp_test
head:   9ac6b4acf9144465ac1408d4d799635dec0223a0
commit: 389613c7cb702ddd4c935ad4e2a391cb6c0e5b94 [298/504] fpga: mgr: Add Xilinx ZynqMP Encrypted Bitstream loading support
:::::: branch date: 32 hours ago
:::::: commit date: 32 hours ago
config: m68k-randconfig-r064-20250111 (https://download.01.org/0day-ci/archive/20250112/202501120054.h1T4BTDV-lkp@intel.com/config)
compiler: m68k-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/202501120054.h1T4BTDV-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/fpga/fpga-mgr.c:692:8-16: WARNING: please use sysfs_emit or sysfs_emit_at

vim +692 drivers/fpga/fpga-mgr.c

514f457c746f21 Michal Simek       2023-12-08  686  
389613c7cb702d Nava kishore Manne 2023-12-08  687  static ssize_t key_show(struct device *dev,
389613c7cb702d Nava kishore Manne 2023-12-08  688  			struct device_attribute *attr, char *buf)
389613c7cb702d Nava kishore Manne 2023-12-08  689  {
389613c7cb702d Nava kishore Manne 2023-12-08  690  	struct fpga_manager *mgr = to_fpga_manager(dev);
389613c7cb702d Nava kishore Manne 2023-12-08  691  
389613c7cb702d Nava kishore Manne 2023-12-08 @692  	return snprintf(buf, ENCRYPTED_KEY_LEN + 1, "%s\n", mgr->key);
389613c7cb702d Nava kishore Manne 2023-12-08  693  }
389613c7cb702d Nava kishore Manne 2023-12-08  694  

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

                 reply	other threads:[~2025-01-11 16:54 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=202501120054.h1T4BTDV-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.