Re: [usb:usb-next] BUILD SUCCESS WITH WARNING df49f2a0ac4a34c0cb4b5c233fcfa0add644c43c

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

 



On Fri, Jun 16, 2023 at 08:14:05AM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jun 16, 2023 at 06:12:01AM +0800, kernel test robot wrote:
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next
> > branch HEAD: df49f2a0ac4a34c0cb4b5c233fcfa0add644c43c  Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
> > 
> > Warning: (recently discovered and may have been fixed)
> > 
> > drivers/usb/cdns3/cdns3-starfive.c:23: warning: expecting prototype for cdns3(). Prototype was for USB_STRAP_HOST() instead
> 
> I keep seeing this "warning" by the test robot for a while, but I do not
> understand it at all, and can not duplicate it here locally.  Are you
> sure your riscv toolchain is correct as :
> 
> > Warning ids grouped by kconfigs:
> > 
> > gcc_recent_errors
> > |-- riscv-allmodconfig
> > |   `-- drivers-usb-cdns3-cdns3-starfive.c:warning:expecting-prototype-for-cdns3().-Prototype-was-for-USB_STRAP_HOST()-instead
> > `-- riscv-allyesconfig
> >     `-- drivers-usb-cdns3-cdns3-starfive.c:warning:expecting-prototype-for-cdns3().-Prototype-was-for-USB_STRAP_HOST()-instead
> 
> It only seems to trigger there.

I dunno if it has anything to do with the LKP folks, my copes of gcc-11.3,
gcc-12.2 & gcc-13.1 complain in a similar way on riscv.

Palmer, any clue?

USB_STRAP_HOST is `#define USB_STRAP_HOST BIT(17)` and cdn3s() doesn't
seem to even exist?

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux