From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-media@vger.kernel.org
Subject: [sailus-media-tree:ipu6 65/67] drivers/misc/mei/platform-vsc.c:304:42: warning: unknown escape sequence 'xFFFFFFC5'
Date: Wed, 14 Feb 2024 14:34:44 +0800 [thread overview]
Message-ID: <202402141409.ivNcqTdP-lkp@intel.com> (raw)
tree: git://linuxtv.org/sailus/media_tree.git ipu6
head: ccfe5fafd33d1b056e3ab93de494cd877a5783a2
commit: b6eaf785293ecd8deb07ddf9a178d10612340e86 [65/67] debug
config: i386-randconfig-016-20240214 (https://download.01.org/0day-ci/archive/20240214/202402141409.ivNcqTdP-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402141409.ivNcqTdP-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/202402141409.ivNcqTdP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/misc/mei/platform-vsc.c:304:42: warning: unknown escape sequence '\xFFFFFFC5' [-Wunknown-escape-sequence]
304 | dev_warn(mei_dev->dev, "mei vsc event cb\ņ");
| ^
include/linux/dev_printk.h:146:62: note: expanded from macro 'dev_warn'
146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
include/linux/dev_printk.h:19:22: note: expanded from macro 'dev_fmt'
19 | #define dev_fmt(fmt) fmt
| ^~~
include/linux/dev_printk.h:110:16: note: expanded from macro 'dev_printk_index_wrap'
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
>> drivers/misc/mei/platform-vsc.c:304:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
304 | dev_warn(mei_dev->dev, "mei vsc event cb\ņ");
| ^
include/linux/dev_printk.h:146:62: note: expanded from macro 'dev_warn'
146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
include/linux/dev_printk.h:19:22: note: expanded from macro 'dev_fmt'
19 | #define dev_fmt(fmt) fmt
| ^~~
include/linux/dev_printk.h:110:16: note: expanded from macro 'dev_printk_index_wrap'
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/misc/mei/platform-vsc.c:333:46: warning: unknown escape sequence '\xFFFFFFC5' [-Wunknown-escape-sequence]
333 | dev_warn(mei_dev->dev, "mei vsc event cb end\ņ");
| ^
include/linux/dev_printk.h:146:62: note: expanded from macro 'dev_warn'
146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
include/linux/dev_printk.h:19:22: note: expanded from macro 'dev_fmt'
19 | #define dev_fmt(fmt) fmt
| ^~~
include/linux/dev_printk.h:110:16: note: expanded from macro 'dev_printk_index_wrap'
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/misc/mei/platform-vsc.c:333:48: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
333 | dev_warn(mei_dev->dev, "mei vsc event cb end\ņ");
| ^
include/linux/dev_printk.h:146:62: note: expanded from macro 'dev_warn'
146 | dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~
include/linux/dev_printk.h:19:22: note: expanded from macro 'dev_fmt'
19 | #define dev_fmt(fmt) fmt
| ^~~
include/linux/dev_printk.h:110:16: note: expanded from macro 'dev_printk_index_wrap'
110 | _p_func(dev, fmt, ##__VA_ARGS__); \
| ^~~
4 warnings generated.
vim +/xFFFFFFC5 +304 drivers/misc/mei/platform-vsc.c
291
292 static void mei_vsc_event_cb(void *context)
293 {
294 struct mei_device *mei_dev = context;
295 struct mei_vsc_hw *hw = mei_dev_to_vsc_hw(mei_dev);
296 struct list_head cmpl_list;
297 s32 slots;
298 int ret;
299
300 if (mei_dev->dev_state == MEI_DEV_RESETTING ||
301 mei_dev->dev_state == MEI_DEV_INITIALIZING)
302 return;
303
> 304 dev_warn(mei_dev->dev, "mei vsc event cb\ņ");
305
306 INIT_LIST_HEAD(&cmpl_list);
307
308 guard(mutex)(&mei_dev->device_lock);
309
310 while (vsc_tp_need_read(hw->tp)) {
311 /* check slots available for reading */
312 slots = mei_count_full_read_slots(mei_dev);
313
314 ret = mei_irq_read_handler(mei_dev, &cmpl_list, &slots);
315 if (ret) {
316 if (ret != -ENODATA) {
317 if (mei_dev->dev_state != MEI_DEV_RESETTING &&
318 mei_dev->dev_state != MEI_DEV_POWER_DOWN)
319 schedule_work(&mei_dev->reset_work);
320 }
321
322 return;
323 }
324 }
325
326 mei_dev->hbuf_is_ready = mei_hbuf_is_ready(mei_dev);
327 ret = mei_irq_write_handler(mei_dev, &cmpl_list);
328 if (ret)
329 dev_err(mei_dev->dev, "dispatch write request failed: %d\n", ret);
330
331 mei_dev->hbuf_is_ready = mei_hbuf_is_ready(mei_dev);
332 mei_irq_compl_handler(mei_dev, &cmpl_list);
333 dev_warn(mei_dev->dev, "mei vsc event cb end\ņ");
334 }
335
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-02-14 6:35 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=202402141409.ivNcqTdP-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sakari.ailus@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox