lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 5 Jul 2017 03:47:42 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Gaurav Pathak <gauravpathak129@...il.com>
Cc:     kbuild-all@...org, gregkh@...uxfoundation.org,
        linux-kernel@...r.kernel.org,
        Gaurav Pathak <gauravpathak129@...il.com>
Subject: Re: [PATCH] Replaced Function name in debug print with %s...,
 __func__

Hi Gaurav,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.12 next-20170704]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Gaurav-Pathak/Replaced-Function-name-in-debug-print-with-s-__func__/20170705-023853
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All error/warnings (new ones prefixed by >>):

   drivers/staging/rts5208/sd.c: In function 'sd_check_switch_mode':
   drivers/staging/rts5208/sd.c:1228:26: warning: missing terminating " character
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
                             ^
   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/asm-generic/bug.h:15,
                    from ./arch/xtensa/include/generated/asm/bug.h:1,
                    from include/linux/bug.h:4,
                    from include/linux/thread_info.h:11,
                    from arch/xtensa/include/asm/current.h:16,
                    from include/linux/sched.h:11,
                    from include/linux/blkdev.h:4,
                    from drivers/staging/rts5208/sd.c:23:
>> include/linux/dynamic_debug.h:74:16: error: missing terminating " character
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
     ^
   drivers/staging/rts5208/sd.c:1229:20: error: expected expression before '%' token
      func_to_switch = %d)\n", __func__, mode, func_group,
                       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
     ^
   drivers/staging/rts5208/sd.c:1229:20: error: missing terminating " character
      func_to_switch = %d)\n", __func__, mode, func_group,
                       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
     ^
   drivers/staging/rts5208/sd.c:1229:20: error: expected expression before '%' token
      func_to_switch = %d)\n", __func__, mode, func_group,
                       ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
     ^
   drivers/staging/rts5208/sd.c:1229:20: error: stray '\' in program
      func_to_switch = %d)\n", __func__, mode, func_group,
                       ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/staging/rts5208/sd.c:1228:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
     ^
   drivers/staging/rts5208/sd.c:1229:24: error: expected ';' before 'n'
      func_to_switch = %d)\n", __func__, mode, func_group,
                           ^
   drivers/staging/rts5208/sd.c:1229:25: warning: missing terminating " character
      func_to_switch = %d)\n", __func__, mode, func_group,
                            ^
   drivers/staging/rts5208/sd.c:1229:24: error: missing terminating " character
      func_to_switch = %d)\n", __func__, mode, func_group,
                           ^
   drivers/staging/rts5208/sd.c: In function 'sd_execute_write_data':
   drivers/staging/rts5208/sd.c:5041:27: warning: missing terminating " character
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
                              ^
   drivers/staging/rts5208/sd.c:5042:37: warning: missing terminating " character
        sd_card->sd_lock_status = 0x%x\n",
                                        ^
   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/asm-generic/bug.h:15,
                    from ./arch/xtensa/include/generated/asm/bug.h:1,
                    from include/linux/bug.h:4,
                    from include/linux/thread_info.h:11,
                    from arch/xtensa/include/asm/current.h:16,
                    from include/linux/sched.h:11,
                    from include/linux/blkdev.h:4,
                    from drivers/staging/rts5208/sd.c:23:
>> include/linux/dynamic_debug.h:74:16: error: missing terminating " character
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   drivers/staging/rts5208/sd.c:5042:31: error: invalid suffix "x" on integer constant
        sd_card->sd_lock_status = 0x%x\n",
                                  ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   include/linux/dynamic_debug.h:74:16: error: stray '\' in program
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   drivers/staging/rts5208/sd.c:5042:34: error: 'x' undeclared (first use in this function)
        sd_card->sd_lock_status = 0x%x\n",
                                     ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   drivers/staging/rts5208/sd.c:5042:34: note: each undeclared identifier is reported only once for each function it appears in
        sd_card->sd_lock_status = 0x%x\n",
                                     ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   drivers/staging/rts5208/sd.c:5042:36: error: expected ')' before 'n'
        sd_card->sd_lock_status = 0x%x\n",
                                       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
   drivers/staging/rts5208/sd.c:5041:3: note: in expansion of macro 'dev_dbg'
      dev_dbg(rtsx_dev(chip), "sd_lock_state = 0x%x,
      ^
   drivers/staging/rts5208/sd.c:5042:36: error: missing terminating " character
        sd_card->sd_lock_status = 0x%x\n",
                                       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
--
   drivers/staging/rts5208/spi.c: In function 'spi_set_parameter':
   drivers/staging/rts5208/spi.c:546:26: warning: missing terminating " character
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
                             ^
   drivers/staging/rts5208/spi.c:547:19: warning: missing terminating " character
       write_en = %d\n", __func__, spi->spi_clock,
                      ^
   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/asm-generic/bug.h:15,
                    from ./arch/xtensa/include/generated/asm/bug.h:1,
                    from include/linux/bug.h:4,
                    from include/linux/thread_info.h:11,
                    from arch/xtensa/include/asm/current.h:16,
                    from include/linux/sched.h:11,
                    from include/linux/blkdev.h:4,
                    from drivers/staging/rts5208/spi.c:23:
>> include/linux/dynamic_debug.h:74:16: error: missing terminating " character
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:4: error: 'write_en' undeclared (first use in this function)
       write_en = %d\n", __func__, spi->spi_clock,
       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:4: note: each undeclared identifier is reported only once for each function it appears in
       write_en = %d\n", __func__, spi->spi_clock,
       ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: expected expression before '%' token
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: stray '\' in program
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: missing terminating " character
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: missing terminating " character
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:79:14: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
      .format = (fmt),    \
                 ^
   include/linux/dynamic_debug.h:132:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/device.h:1322:2: note: in expansion of macro 'dynamic_dev_dbg'
     dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
     ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: expected expression before '%' token
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: stray '\' in program
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
   drivers/staging/rts5208/spi.c:547:15: error: missing terminating " character
       write_en = %d\n", __func__, spi->spi_clock,
                  ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> drivers/staging/rts5208/spi.c:546:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtsx_dev(chip), "%s: spi_clock = %d, clk_div = %d,
     ^
..

vim +/dev_dbg +1228 drivers/staging/rts5208/sd.c

  1212		if ((buf[DATA_STRUCTURE_VER_OFFSET] == 0x01) &&
  1213		    ((buf[check_busy_offset] & switch_busy) == switch_busy)) {
  1214			rtsx_trace(chip);
  1215			return STATUS_FAIL;
  1216		}
  1217	
  1218		return STATUS_SUCCESS;
  1219	}
  1220	
  1221	static int sd_check_switch_mode(struct rtsx_chip *chip, u8 mode, u8 func_group,
  1222					u8 func_to_switch, u8 bus_width)
  1223	{
  1224		struct sd_info *sd_card = &chip->sd_card;
  1225		int retval;
  1226		u8 cmd[5], buf[64];
  1227	
> 1228		dev_dbg(rtsx_dev(chip), "%s (mode = %d, func_group = %d,
  1229			func_to_switch = %d)\n", __func__, mode, func_group,
  1230				func_to_switch);
  1231	
  1232		cmd[0] = 0x40 | SWITCH;
  1233		cmd[1] = mode;
  1234	
  1235		if (func_group == SD_FUNC_GROUP_1) {
  1236			cmd[2] = 0xFF;

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

Download attachment ".config.gz" of type "application/gzip" (50281 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ