linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the usb tree
@ 2020-01-07  3:30 Stephen Rothwell
  2020-01-07  8:06 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-01-07  3:30 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Krzysztof Kozlowski, Kishon Vijay Abraham I

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

Hi all,

After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

WARNING: unmet direct dependencies detected for I2C_S3C2410
  Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
  Selected by [m]:
  - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]

WARNING: unmet direct dependencies detected for I2C_S3C2410
  Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
  Selected by [m]:
  - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]

WARNING: unmet direct dependencies detected for I2C_S3C2410
  Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
  Selected by [m]:
  - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]

Introduced by commit

  203b7ee14d3a ("phy: Enable compile testing for some of drivers")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warnings after merge of the usb tree
  2020-01-07  3:30 linux-next: build warnings after merge of the usb tree Stephen Rothwell
@ 2020-01-07  8:06 ` Krzysztof Kozlowski
  2020-01-21  6:28   ` Stephen Rothwell
  0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2020-01-07  8:06 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Greg KH, Linux Next Mailing List, Linux Kernel Mailing List,
	Kishon Vijay Abraham I

On Tue, 7 Jan 2020 at 04:31, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> produced these warnings:
>
> WARNING: unmet direct dependencies detected for I2C_S3C2410
>   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
>   Selected by [m]:
>   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
>
> WARNING: unmet direct dependencies detected for I2C_S3C2410
>   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
>   Selected by [m]:
>   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
>
> WARNING: unmet direct dependencies detected for I2C_S3C2410
>   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
>   Selected by [m]:
>   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
>
> Introduced by commit
>
>   203b7ee14d3a ("phy: Enable compile testing for some of drivers")

Hi,

The fix is here:
https://lore.kernel.org/lkml/CAMuHMdUXJo3=x32xbfSUXs3O3JHaFpfxt0mHupEb+vzi=5+S4g@mail.gmail.com/
i2c: Enable compile testing for some of drivers
Although I need to send v2 of it.

Best regards,
Krzysztof

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

* Re: linux-next: build warnings after merge of the usb tree
  2020-01-07  8:06 ` Krzysztof Kozlowski
@ 2020-01-21  6:28   ` Stephen Rothwell
  2020-01-21  7:55     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-01-21  6:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Greg KH, Linux Next Mailing List, Linux Kernel Mailing List,
	Kishon Vijay Abraham I

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

Hi all,

On Tue, 7 Jan 2020 09:06:01 +0100 Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Tue, 7 Jan 2020 at 04:31, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> > produced these warnings:
> >
> > WARNING: unmet direct dependencies detected for I2C_S3C2410
> >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> >   Selected by [m]:
> >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> >
> > WARNING: unmet direct dependencies detected for I2C_S3C2410
> >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> >   Selected by [m]:
> >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> >
> > WARNING: unmet direct dependencies detected for I2C_S3C2410
> >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> >   Selected by [m]:
> >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> >
> > Introduced by commit
> >
> >   203b7ee14d3a ("phy: Enable compile testing for some of drivers")  
> 
> The fix is here:
> https://lore.kernel.org/lkml/CAMuHMdUXJo3=x32xbfSUXs3O3JHaFpfxt0mHupEb+vzi=5+S4g@mail.gmail.com/
> i2c: Enable compile testing for some of drivers
> Although I need to send v2 of it.

I am still seeing these warnings.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warnings after merge of the usb tree
  2020-01-21  6:28   ` Stephen Rothwell
@ 2020-01-21  7:55     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2020-01-21  7:55 UTC (permalink / raw)
  To: Stephen Rothwell, Wolfram Sang
  Cc: Greg KH, Linux Next Mailing List, Linux Kernel Mailing List,
	Kishon Vijay Abraham I

On Tue, 21 Jan 2020 at 07:28, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> On Tue, 7 Jan 2020 09:06:01 +0100 Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >
> > On Tue, 7 Jan 2020 at 04:31, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > >
> > > After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> > > produced these warnings:
> > >
> > > WARNING: unmet direct dependencies detected for I2C_S3C2410
> > >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> > >   Selected by [m]:
> > >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> > >
> > > WARNING: unmet direct dependencies detected for I2C_S3C2410
> > >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> > >   Selected by [m]:
> > >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> > >
> > > WARNING: unmet direct dependencies detected for I2C_S3C2410
> > >   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && HAVE_S3C2410_I2C [=n]
> > >   Selected by [m]:
> > >   - PHY_EXYNOS5250_SATA [=m] && (SOC_EXYNOS5250 || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && OF [=y]
> > >
> > > Introduced by commit
> > >
> > >   203b7ee14d3a ("phy: Enable compile testing for some of drivers")
> >
> > The fix is here:
> > https://lore.kernel.org/lkml/CAMuHMdUXJo3=x32xbfSUXs3O3JHaFpfxt0mHupEb+vzi=5+S4g@mail.gmail.com/
> > i2c: Enable compile testing for some of drivers
> > Although I need to send v2 of it.
>
> I am still seeing these warnings.

v2 is here:
https://lore.kernel.org/linux-arm-kernel/1578384779-15487-1-git-send-email-krzk@kernel.org/T/#t

Can someone review and/or pick it up?

Best regards,
Krzysztof

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

* Re: linux-next: build warnings after merge of the usb tree
  2020-03-17 13:45 ` Andrey Konovalov
@ 2020-03-17 13:53   ` Greg KH
  0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2020-03-17 13:53 UTC (permalink / raw)
  To: Andrey Konovalov
  Cc: Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, Felipe Balbi

On Tue, Mar 17, 2020 at 02:45:56PM +0100, Andrey Konovalov wrote:
> On Tue, Mar 17, 2020 at 8:57 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Hi all,
> >
> > After merging the usb tree, today's (actually yesterday's) linux-next
> > build (powerpc allyesconfig) produced these warnings:
> >
> > ./usr/include/linux/usb/raw_gadget.h:74:12: warning: 'usb_raw_io_flags_zero' defined but not used [-Wunused-function]
> >    74 | static int usb_raw_io_flags_zero(__u16 flags)
> >       |            ^~~~~~~~~~~~~~~~~~~~~
> > ./usr/include/linux/usb/raw_gadget.h:69:12: warning: 'usb_raw_io_flags_valid' defined but not used [-Wunused-function]
> >    69 | static int usb_raw_io_flags_valid(__u16 flags)
> >       |            ^~~~~~~~~~~~~~~~~~~~~~
> >
> > Introduced by commit
> >
> >   f2c2e717642c ("usb: gadget: add raw-gadget interface")
> >
> > Missing "inline" n a header file?
> 
> Hi Stephen,
> 
> Yes, same issue as reported here:
> https://github.com/ClangBuiltLinux/linux/issues/934
> 
> Thanks for the report!
> 
> Greg, should I send a new version with the fix right now, or is it OK
> to wait until we get comments from Felipe/Alan and then send a new
> version?

Please send a fix for what is in my tree, I can't rebase it.

thanks,

greg k-h

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

* Re: linux-next: build warnings after merge of the usb tree
  2020-03-17  7:57 Stephen Rothwell
@ 2020-03-17 13:45 ` Andrey Konovalov
  2020-03-17 13:53   ` Greg KH
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Konovalov @ 2020-03-17 13:45 UTC (permalink / raw)
  To: Stephen Rothwell, Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Felipe Balbi

On Tue, Mar 17, 2020 at 8:57 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the usb tree, today's (actually yesterday's) linux-next
> build (powerpc allyesconfig) produced these warnings:
>
> ./usr/include/linux/usb/raw_gadget.h:74:12: warning: 'usb_raw_io_flags_zero' defined but not used [-Wunused-function]
>    74 | static int usb_raw_io_flags_zero(__u16 flags)
>       |            ^~~~~~~~~~~~~~~~~~~~~
> ./usr/include/linux/usb/raw_gadget.h:69:12: warning: 'usb_raw_io_flags_valid' defined but not used [-Wunused-function]
>    69 | static int usb_raw_io_flags_valid(__u16 flags)
>       |            ^~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
>   f2c2e717642c ("usb: gadget: add raw-gadget interface")
>
> Missing "inline" n a header file?

Hi Stephen,

Yes, same issue as reported here:
https://github.com/ClangBuiltLinux/linux/issues/934

Thanks for the report!

Greg, should I send a new version with the fix right now, or is it OK
to wait until we get comments from Felipe/Alan and then send a new
version?

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

* linux-next: build warnings after merge of the usb tree
@ 2020-03-17  7:57 Stephen Rothwell
  2020-03-17 13:45 ` Andrey Konovalov
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-03-17  7:57 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Andrey Konovalov, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Hi all,

After merging the usb tree, today's (actually yesterday's) linux-next
build (powerpc allyesconfig) produced these warnings:

./usr/include/linux/usb/raw_gadget.h:74:12: warning: 'usb_raw_io_flags_zero' defined but not used [-Wunused-function]
   74 | static int usb_raw_io_flags_zero(__u16 flags)
      |            ^~~~~~~~~~~~~~~~~~~~~
./usr/include/linux/usb/raw_gadget.h:69:12: warning: 'usb_raw_io_flags_valid' defined but not used [-Wunused-function]
   69 | static int usb_raw_io_flags_valid(__u16 flags)
      |            ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  f2c2e717642c ("usb: gadget: add raw-gadget interface")

Missing "inline" n a header file?

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warnings after merge of the usb tree
  2017-11-02  4:10 Stephen Rothwell
@ 2017-11-02  8:45 ` Greg KH
  0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2017-11-02  8:45 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Chunfeng Yun,
	Felipe Balbi

On Thu, Nov 02, 2017 at 03:10:22PM +1100, Stephen Rothwell wrote:
> Hi Greg,
> 
> After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
> produced these warnings:
> 
> In file included from include/linux/printk.h:327:0,
>                  from include/linux/kernel.h:13,
>                  from include/asm-generic/bug.h:15,
>                  from arch/x86/include/asm/bug.h:81,
>                  from include/linux/bug.h:4,
>                  from include/linux/scatterlist.h:6,
>                  from include/linux/dmapool.h:14,
>                  from drivers/usb/mtu3/mtu3_qmu.c:30:
> drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd':
> drivers/usb/mtu3/mtu3_qmu.c:261:25: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
>   dev_dbg(mep->mtu->dev, "TX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
>                          ^
> include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
>    __dynamic_dev_dbg(&descriptor, dev, fmt, \
>                                        ^
> drivers/usb/mtu3/mtu3_qmu.c:261:2: note: in expansion of macro 'dev_dbg'
>   dev_dbg(mep->mtu->dev, "TX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
>   ^
> drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd':
> drivers/usb/mtu3/mtu3_qmu.c:300:25: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
>   dev_dbg(mep->mtu->dev, "RX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
>                          ^
> include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
>    __dynamic_dev_dbg(&descriptor, dev, fmt, \
>                                        ^
> drivers/usb/mtu3/mtu3_qmu.c:300:2: note: in expansion of macro 'dev_dbg'
>   dev_dbg(mep->mtu->dev, "RX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
>   ^
> 
> Introduced by commit
> 
>   1a46dfea0841 ("usb: mtu3: support 36-bit DMA address")

I think I have a patch that just landed in my tree to fix this one up.
You should see it soon.

thanks,

greg k-h

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

* linux-next: build warnings after merge of the usb tree
@ 2017-11-02  4:10 Stephen Rothwell
  2017-11-02  8:45 ` Greg KH
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2017-11-02  4:10 UTC (permalink / raw)
  To: Greg KH
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Chunfeng Yun,
	Felipe Balbi

Hi Greg,

After merging the usb tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

In file included from include/linux/printk.h:327:0,
                 from include/linux/kernel.h:13,
                 from include/asm-generic/bug.h:15,
                 from arch/x86/include/asm/bug.h:81,
                 from include/linux/bug.h:4,
                 from include/linux/scatterlist.h:6,
                 from include/linux/dmapool.h:14,
                 from drivers/usb/mtu3/mtu3_qmu.c:30:
drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd':
drivers/usb/mtu3/mtu3_qmu.c:261:25: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
  dev_dbg(mep->mtu->dev, "TX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
                         ^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
   __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                       ^
drivers/usb/mtu3/mtu3_qmu.c:261:2: note: in expansion of macro 'dev_dbg'
  dev_dbg(mep->mtu->dev, "TX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
  ^
drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd':
drivers/usb/mtu3/mtu3_qmu.c:300:25: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
  dev_dbg(mep->mtu->dev, "RX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
                         ^
include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
   __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                       ^
drivers/usb/mtu3/mtu3_qmu.c:300:2: note: in expansion of macro 'dev_dbg'
  dev_dbg(mep->mtu->dev, "RX-EP%d queue gpd=%p, enq=%p, qdma=%pad\n",
  ^

Introduced by commit

  1a46dfea0841 ("usb: mtu3: support 36-bit DMA address")

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build warnings after merge of the usb tree
  2011-04-14  4:18 Stephen Rothwell
@ 2011-04-14  4:51 ` Greg KH
  0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2011-04-14  4:51 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Kuninori Morimoto

On Thu, Apr 14, 2011 at 02:18:31PM +1000, Stephen Rothwell wrote:
> Hi Greg,
> 
> After merging the staging tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_set':
> drivers/usb/renesas_usbhs/pipe.c:81: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:81: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_get':
> drivers/usb/renesas_usbhs/pipe.c:92: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:92: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipe_select':
> drivers/usb/renesas_usbhs/pipe.c:180: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:180: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_fifo_select':
> drivers/usb/renesas_usbhs/pipe.c:350: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:350: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_setup_pipebuff':
> drivers/usb/renesas_usbhs/pipe.c:604: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:604: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c: In function 'usbhs_pipe_malloc':
> drivers/usb/renesas_usbhs/pipe.c:775: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:775: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:775: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
> drivers/usb/renesas_usbhs/pipe.c:795: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:795: warning: cast from pointer to integer of different size
> drivers/usb/renesas_usbhs/pipe.c:795: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
> 
> Introduced by commit f1407d5c6624 ("usb: renesas_usbhs: Add Renesas USBHS
> common code").

Yeah, the developer was told about this already and is working on it.

thanks,

greg k-h

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

* linux-next: build warnings after merge of the usb tree
@ 2011-04-14  4:18 Stephen Rothwell
  2011-04-14  4:51 ` Greg KH
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2011-04-14  4:18 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Kuninori Morimoto

[-- Attachment #1: Type: text/plain, Size: 2314 bytes --]

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_set':
drivers/usb/renesas_usbhs/pipe.c:81: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:81: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_get':
drivers/usb/renesas_usbhs/pipe.c:92: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:92: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipe_select':
drivers/usb/renesas_usbhs/pipe.c:180: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:180: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_fifo_select':
drivers/usb/renesas_usbhs/pipe.c:350: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:350: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_setup_pipebuff':
drivers/usb/renesas_usbhs/pipe.c:604: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:604: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function 'usbhs_pipe_malloc':
drivers/usb/renesas_usbhs/pipe.c:775: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:775: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:775: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
drivers/usb/renesas_usbhs/pipe.c:795: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:795: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:795: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'

Introduced by commit f1407d5c6624 ("usb: renesas_usbhs: Add Renesas USBHS
common code").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

end of thread, other threads:[~2020-03-17 13:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07  3:30 linux-next: build warnings after merge of the usb tree Stephen Rothwell
2020-01-07  8:06 ` Krzysztof Kozlowski
2020-01-21  6:28   ` Stephen Rothwell
2020-01-21  7:55     ` Krzysztof Kozlowski
  -- strict thread matches above, loose matches on Subject: below --
2020-03-17  7:57 Stephen Rothwell
2020-03-17 13:45 ` Andrey Konovalov
2020-03-17 13:53   ` Greg KH
2017-11-02  4:10 Stephen Rothwell
2017-11-02  8:45 ` Greg KH
2011-04-14  4:18 Stephen Rothwell
2011-04-14  4:51 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).