[sailus-media-tree:ipu6 65/67] drivers/misc/mei/platform-vsc.c:304:42: warning: unknown escape sequence 'xFFFFFFC5'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402141409.ivNcqTdP-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux