All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.15.y 9007/9999] drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead
@ 2023-01-31  7:29 kernel test robot
  2023-01-31  8:08 ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-01-31  7:29 UTC (permalink / raw)
  To: Marek Vasut
  Cc: oe-kbuild-all, Greg Kroah-Hartman, Alvin Šipraga,
	Chanwoo Choi, Sasha Levin

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
head:   5605d15db0225e49efaa8f83e03f78a8bee3bb5d
commit: ac067e75c4c2a80c617326ad5c4a8754b16f5079 [9007/9999] extcon: usbc-tusb320: Add USB TYPE-C support
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230131/202301311547.ZhYEzT9x-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=ac067e75c4c2a80c617326ad5c4a8754b16f5079
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.15.y
        git checkout ac067e75c4c2a80c617326ad5c4a8754b16f5079
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/extcon/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead


vim +19 drivers/extcon/extcon-usbc-tusb320.c

    18	
  > 19	#define TUSB320_REG8				0x8
    20	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE	GENMASK(7, 6)
    21	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_USB	0x0
    22	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_15A	0x1
    23	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_30A	0x2
    24	#define TUSB320_REG8_CURRENT_MODE_DETECT	GENMASK(5, 4)
    25	#define TUSB320_REG8_CURRENT_MODE_DETECT_DEF	0x0
    26	#define TUSB320_REG8_CURRENT_MODE_DETECT_MED	0x1
    27	#define TUSB320_REG8_CURRENT_MODE_DETECT_ACC	0x2
    28	#define TUSB320_REG8_CURRENT_MODE_DETECT_HI	0x3
    29	#define TUSB320_REG8_ACCESSORY_CONNECTED	GENMASK(3, 2)
    30	#define TUSB320_REG8_ACCESSORY_CONNECTED_NONE	0x0
    31	#define TUSB320_REG8_ACCESSORY_CONNECTED_AUDIO	0x4
    32	#define TUSB320_REG8_ACCESSORY_CONNECTED_ACC	0x5
    33	#define TUSB320_REG8_ACCESSORY_CONNECTED_DEBUG	0x6
    34	#define TUSB320_REG8_ACTIVE_CABLE_DETECTION	BIT(0)
    35	

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-stable-rc:linux-5.15.y 9007/9999] drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead
  2023-01-31  7:29 [linux-stable-rc:linux-5.15.y 9007/9999] drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead kernel test robot
@ 2023-01-31  8:08 ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2023-01-31  8:08 UTC (permalink / raw)
  To: kernel test robot
  Cc: oe-kbuild-all, Greg Kroah-Hartman, Alvin Šipraga,
	Chanwoo Choi, Sasha Levin, Chen, Rong A

On 1/31/23 08:29, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> head:   5605d15db0225e49efaa8f83e03f78a8bee3bb5d
> commit: ac067e75c4c2a80c617326ad5c4a8754b16f5079 [9007/9999] extcon: usbc-tusb320: Add USB TYPE-C support
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230131/202301311547.ZhYEzT9x-lkp@intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=ac067e75c4c2a80c617326ad5c4a8754b16f5079
>          git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
>          git fetch --no-tags linux-stable-rc linux-5.15.y
>          git checkout ac067e75c4c2a80c617326ad5c4a8754b16f5079
>          # save the config file
>          mkdir build_dir && cp config build_dir/.config
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/extcon/
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
>>> drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead
> 
> 
> vim +19 drivers/extcon/extcon-usbc-tusb320.c
> 
>      18	
>    > 19	#define TUSB320_REG8				0x8
>      20	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE	GENMASK(7, 6)
>      21	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_USB	0x0
>      22	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_15A	0x1
>      23	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_30A	0x2
>      24	#define TUSB320_REG8_CURRENT_MODE_DETECT	GENMASK(5, 4)
>      25	#define TUSB320_REG8_CURRENT_MODE_DETECT_DEF	0x0
>      26	#define TUSB320_REG8_CURRENT_MODE_DETECT_MED	0x1
>      27	#define TUSB320_REG8_CURRENT_MODE_DETECT_ACC	0x2
>      28	#define TUSB320_REG8_CURRENT_MODE_DETECT_HI	0x3
>      29	#define TUSB320_REG8_ACCESSORY_CONNECTED	GENMASK(3, 2)
>      30	#define TUSB320_REG8_ACCESSORY_CONNECTED_NONE	0x0
>      31	#define TUSB320_REG8_ACCESSORY_CONNECTED_AUDIO	0x4
>      32	#define TUSB320_REG8_ACCESSORY_CONNECTED_ACC	0x5
>      33	#define TUSB320_REG8_ACCESSORY_CONNECTED_DEBUG	0x6
>      34	#define TUSB320_REG8_ACTIVE_CABLE_DETECTION	BIT(0)
>      35	

This should be fixed upstream already by commit:

08099ecd92162 ("extcon: usbc-tusb320: fix kernel-doc warning")

Based on similar discussion around the same report in next:
[linux-next:master 2262/4736] drivers/extcon/extcon-usbc-tusb320.c:19: 
warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). 
Prototype was for TUSB320_REG8() instead


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-stable-rc:linux-5.15.y 9007/9999] drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead
@ 2023-01-31 10:01 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-01-31 10:01 UTC (permalink / raw)
  To: Marek Vasut
  Cc: llvm, oe-kbuild-all, Greg Kroah-Hartman, Alvin Šipraga,
	Chanwoo Choi, Sasha Levin

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
head:   5605d15db0225e49efaa8f83e03f78a8bee3bb5d
commit: ac067e75c4c2a80c617326ad5c4a8754b16f5079 [9007/9999] extcon: usbc-tusb320: Add USB TYPE-C support
config: i386-randconfig-a013-20230130 (https://download.01.org/0day-ci/archive/20230131/202301311753.ncxChquO-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=ac067e75c4c2a80c617326ad5c4a8754b16f5079
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.15.y
        git checkout ac067e75c4c2a80c617326ad5c4a8754b16f5079
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/extcon/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead


vim +19 drivers/extcon/extcon-usbc-tusb320.c

    18	
  > 19	#define TUSB320_REG8				0x8
    20	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE	GENMASK(7, 6)
    21	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_USB	0x0
    22	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_15A	0x1
    23	#define TUSB320_REG8_CURRENT_MODE_ADVERTISE_30A	0x2
    24	#define TUSB320_REG8_CURRENT_MODE_DETECT	GENMASK(5, 4)
    25	#define TUSB320_REG8_CURRENT_MODE_DETECT_DEF	0x0
    26	#define TUSB320_REG8_CURRENT_MODE_DETECT_MED	0x1
    27	#define TUSB320_REG8_CURRENT_MODE_DETECT_ACC	0x2
    28	#define TUSB320_REG8_CURRENT_MODE_DETECT_HI	0x3
    29	#define TUSB320_REG8_ACCESSORY_CONNECTED	GENMASK(3, 2)
    30	#define TUSB320_REG8_ACCESSORY_CONNECTED_NONE	0x0
    31	#define TUSB320_REG8_ACCESSORY_CONNECTED_AUDIO	0x4
    32	#define TUSB320_REG8_ACCESSORY_CONNECTED_ACC	0x5
    33	#define TUSB320_REG8_ACCESSORY_CONNECTED_DEBUG	0x6
    34	#define TUSB320_REG8_ACTIVE_CABLE_DETECTION	BIT(0)
    35	

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-31 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-31  7:29 [linux-stable-rc:linux-5.15.y 9007/9999] drivers/extcon/extcon-usbc-tusb320.c:19: warning: expecting prototype for drivers/extcon/extcon-tusb320.c(). Prototype was for TUSB320_REG8() instead kernel test robot
2023-01-31  8:08 ` Marek Vasut
2023-01-31 10:01 kernel test robot

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.