[bluetooth-next:master 25/28] sound/soc//mxs/mxs-saif.c:591:3: note: in expansion of macro 'dev_dbg'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   50d1455b61a78d1f2dfca4b3366ac5925fb04838
commit: d931acd575d6a36730192756bf2cbd14c77fa1bc [25/28] ieee802154: Add CA8210 IEEE 802.15.4 device driver
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d931acd575d6a36730192756bf2cbd14c77fa1bc
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from include/linux/dma-mapping.h:6:0,
                    from drivers/mtd/nand/denali.c:21:
   drivers/mtd/nand/denali.c: In function 'denali_nand_timing_set':
>> drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 9 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
   drivers/mtd/nand/denali.c:503:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long unsigned int' [-Wformat=]
       "Dump timing register values:\n"
       ^
   include/linux/device.h:1317:51: note: in definition of macro 'dev_info'
    #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
                                                      ^~~
--
   In file included from include/linux/printk.h:6:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/kobject.h:20,
                    from include/linux/device.h:17,
                    from include/linux/i2c.h:30,
                    from include/drm/drm_crtc.h:28,
                    from include/drm/drm_atomic_helper.h:31,
                    from drivers/gpu/drm/vc4/vc4_dsi.c:32:
   drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_dump_regs':
   include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_INFO KERN_SOH "6" /* informational */
                      ^~~~~~~~
   include/drm/drmP.h:151:16: note: in expansion of macro 'KERN_INFO'
      printk##once(KERN_##level "[" DRM_NAME "] " fmt, \
                   ^~~~~
   include/drm/drmP.h:156:2: note: in expansion of macro '_DRM_PRINTK'
     _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__)
     ^~~~~~~~~~~
>> drivers/gpu/drm/vc4/vc4_dsi.c:682:4: note: in expansion of macro 'DRM_INFO'
       DRM_INFO("0x%04x (%s): 0x%08x\n",
       ^~~~~~~~
   include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_INFO KERN_SOH "6" /* informational */
                      ^~~~~~~~
   include/drm/drmP.h:151:16: note: in expansion of macro 'KERN_INFO'
      printk##once(KERN_##level "[" DRM_NAME "] " fmt, \
                   ^~~~~
   include/drm/drmP.h:156:2: note: in expansion of macro '_DRM_PRINTK'
     _DRM_PRINTK(, INFO, fmt, ##__VA_ARGS__)
     ^~~~~~~~~~~
   drivers/gpu/drm/vc4/vc4_dsi.c:688:4: note: in expansion of macro 'DRM_INFO'
       DRM_INFO("0x%04x (%s): 0x%08x\n",
       ^~~~~~~~
   drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_debugfs_regs':
>> drivers/gpu/drm/vc4/vc4_dsi.c:710:37: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
       seq_printf(m, "0x%04x (%s): 0x%08x\n",
                                        ^
   drivers/gpu/drm/vc4/vc4_dsi.c:716:37: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
       seq_printf(m, "0x%04x (%s): 0x%08x\n",
                                        ^
   drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_ulps':
   drivers/gpu/drm/vc4/vc4_dsi.c:854:52: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
        "Timeout waiting for DSI ULPS entry: STAT 0x%08x",
                                                       ^
   drivers/gpu/drm/vc4/vc4_dsi.c:873:52: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
        "Timeout waiting for DSI STOP entry: STAT 0x%08x",
                                                       ^
   drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_host_transfer':
   drivers/gpu/drm/vc4/vc4_dsi.c:1293:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      dev_err(&dsi->pdev->dev, "instat: 0x%08x\n",
                                             ^
   drivers/gpu/drm/vc4/vc4_dsi.c: In function 'vc4_dsi_bind':
   drivers/gpu/drm/vc4/vc4_dsi.c:1565:36: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      dev_err(dev, "Port returned 0x%08x for ID instead of 0x%08x\n",
                                       ^
--
   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from sound/soc//mxs/mxs-saif.c:19:
   sound/soc//mxs/mxs-saif.c: In function 'mxs_saif_trigger':
>> sound/soc//mxs/mxs-saif.c:591:22: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
      dev_dbg(saif->dev, "CTRL 0x%x STAT 0x%x\n",
                         ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> sound/soc//mxs/mxs-saif.c:591:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(saif->dev, "CTRL 0x%x STAT 0x%x\n",
      ^~~~~~~
   sound/soc//mxs/mxs-saif.c:591:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
      dev_dbg(saif->dev, "CTRL 0x%x STAT 0x%x\n",
                         ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> sound/soc//mxs/mxs-saif.c:591:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(saif->dev, "CTRL 0x%x STAT 0x%x\n",
      ^~~~~~~
   sound/soc//mxs/mxs-saif.c:595:29: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
      dev_dbg(master_saif->dev, "CTRL 0x%x STAT 0x%x\n",
                                ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   sound/soc//mxs/mxs-saif.c:595:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(master_saif->dev, "CTRL 0x%x STAT 0x%x\n",
      ^~~~~~~
   sound/soc//mxs/mxs-saif.c:595:29: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
      dev_dbg(master_saif->dev, "CTRL 0x%x STAT 0x%x\n",
                                ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   sound/soc//mxs/mxs-saif.c:595:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(master_saif->dev, "CTRL 0x%x STAT 0x%x\n",
      ^~~~~~~
   sound/soc//mxs/mxs-saif.c: In function 'mxs_saif_irq':
   sound/soc//mxs/mxs-saif.c:703:21: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     dev_dbg(saif->dev, "SAIF_CTRL %x SAIF_STAT %x\n",
                        ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   sound/soc//mxs/mxs-saif.c:703:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(saif->dev, "SAIF_CTRL %x SAIF_STAT %x\n",
     ^~~~~~~
   sound/soc//mxs/mxs-saif.c:703:21: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
     dev_dbg(saif->dev, "SAIF_CTRL %x SAIF_STAT %x\n",
                        ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   sound/soc//mxs/mxs-saif.c:703:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(saif->dev, "SAIF_CTRL %x SAIF_STAT %x\n",
     ^~~~~~~

vim +/dev_dbg +591 sound/soc//mxs/mxs-saif.c

f55f14752 Fabio Estevam   2012-11-01  575  			__raw_writel(0, saif->base + SAIF_DATA);
2a24f2ce8 Dong Aisheng    2011-07-21  576  		} else {
2a24f2ce8 Dong Aisheng    2011-07-21  577  			/*
f55f14752 Fabio Estevam   2012-11-01  578  			 * read data from saif data register to trigger
f55f14752 Fabio Estevam   2012-11-01  579  			 * the receive.
f55f14752 Fabio Estevam   2012-11-01  580  			 * For 24-bit format the 32-bit FIFO register stores
f55f14752 Fabio Estevam   2012-11-01  581  			 * only one channel, so we need to read twice.
f55f14752 Fabio Estevam   2012-11-01  582  			 * This is also safe for the other non 24-bit formats.
2a24f2ce8 Dong Aisheng    2011-07-21  583  			 */
2a24f2ce8 Dong Aisheng    2011-07-21  584  			__raw_readl(saif->base + SAIF_DATA);
f55f14752 Fabio Estevam   2012-11-01  585  			__raw_readl(saif->base + SAIF_DATA);
2a24f2ce8 Dong Aisheng    2011-07-21  586  		}
2a24f2ce8 Dong Aisheng    2011-07-21  587  
76067540c Dong Aisheng    2011-09-07  588  		master_saif->ongoing = 1;
88cf632a1 Markus Pargmann 2013-10-11  589  		saif->state = MXS_SAIF_STATE_RUNNING;
76067540c Dong Aisheng    2011-09-07  590  
76067540c Dong Aisheng    2011-09-07 @591  		dev_dbg(saif->dev, "CTRL 0x%x STAT 0x%x\n",
2a24f2ce8 Dong Aisheng    2011-07-21  592  			__raw_readl(saif->base + SAIF_CTRL),
2a24f2ce8 Dong Aisheng    2011-07-21  593  			__raw_readl(saif->base + SAIF_STAT));
2a24f2ce8 Dong Aisheng    2011-07-21  594  
76067540c Dong Aisheng    2011-09-07  595  		dev_dbg(master_saif->dev, "CTRL 0x%x STAT 0x%x\n",
76067540c Dong Aisheng    2011-09-07  596  			__raw_readl(master_saif->base + SAIF_CTRL),
76067540c Dong Aisheng    2011-09-07  597  			__raw_readl(master_saif->base + SAIF_STAT));
2a24f2ce8 Dong Aisheng    2011-07-21  598  		break;
2a24f2ce8 Dong Aisheng    2011-07-21  599  	case SNDRV_PCM_TRIGGER_SUSPEND:

:::::: The code at line 591 was first introduced by commit
:::::: 76067540c642b1a14679ab74bd027a074c23e63b ASoC: mxs-saif: add record function

:::::: TO: Dong Aisheng <b29396@xxxxxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux