All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
* 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
* 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
* 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 --
2017-11-02  4:10 linux-next: build warnings after merge of the usb tree Stephen Rothwell
2017-11-02  8:45 ` Greg KH
  -- 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
2020-01-07  3:30 Stephen Rothwell
2020-01-07  8:06 ` Krzysztof Kozlowski
2020-01-21  6:28   ` Stephen Rothwell
2020-01-21  7:55     ` Krzysztof Kozlowski
2011-04-14  4:18 Stephen Rothwell
2011-04-14  4:51 ` Greg KH

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.