All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	ARM <linux-arm-kernel@lists.infradead.org>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: linux-next: build warning after merge of the arm-soc tree
Date: Fri, 16 Aug 2019 09:23:41 +1000	[thread overview]
Message-ID: <20190816092341.06899516@canb.auug.org.au> (raw)

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

Hi all,

After merging the arm-soc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from include/linux/kernel.h:15,
                 from include/linux/list.h:9,
                 from include/linux/module.h:9,
                 from drivers/dma/iop-adma.c:13:
drivers/dma/iop-adma.c: In function '__iop_adma_slot_cleanup':
drivers/dma/iop-adma.c:118:12: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' {aka 'long long unsigned int'} [-Wformat=]
   pr_debug("\tcookie: %d slot: %d busy: %d "
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:288:21: note: in definition of macro 'pr_fmt'
 #define pr_fmt(fmt) fmt
                     ^~~
include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
  ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:336:2: note: in expansion of macro 'dynamic_pr_debug'
  dynamic_pr_debug(fmt, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~
drivers/dma/iop-adma.c:118:3: note: in expansion of macro 'pr_debug'
   pr_debug("\tcookie: %d slot: %d busy: %d "
   ^~~~~~~~
drivers/dma/iop-adma.c:119:18: note: format string is defined here
    "this_desc: %#x next_desc: %#llx ack: %d\n",
                ~~^
                %#llx

Introduced (or exposed?) by commit

  00c9755524fb ("dmaengine: iop-adma: use correct printk format strings")

-- 
Cheers,
Stephen Rothwell

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

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	ARM <linux-arm-kernel@lists.infradead.org>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: linux-next: build warning after merge of the arm-soc tree
Date: Fri, 16 Aug 2019 09:23:41 +1000	[thread overview]
Message-ID: <20190816092341.06899516@canb.auug.org.au> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1686 bytes --]

Hi all,

After merging the arm-soc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from include/linux/kernel.h:15,
                 from include/linux/list.h:9,
                 from include/linux/module.h:9,
                 from drivers/dma/iop-adma.c:13:
drivers/dma/iop-adma.c: In function '__iop_adma_slot_cleanup':
drivers/dma/iop-adma.c:118:12: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' {aka 'long long unsigned int'} [-Wformat=]
   pr_debug("\tcookie: %d slot: %d busy: %d "
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:288:21: note: in definition of macro 'pr_fmt'
 #define pr_fmt(fmt) fmt
                     ^~~
include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call'
  __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:153:2: note: in expansion of macro '_dynamic_func_call'
  _dynamic_func_call(fmt, __dynamic_pr_debug,  \
  ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:336:2: note: in expansion of macro 'dynamic_pr_debug'
  dynamic_pr_debug(fmt, ##__VA_ARGS__)
  ^~~~~~~~~~~~~~~~
drivers/dma/iop-adma.c:118:3: note: in expansion of macro 'pr_debug'
   pr_debug("\tcookie: %d slot: %d busy: %d "
   ^~~~~~~~
drivers/dma/iop-adma.c:119:18: note: format string is defined here
    "this_desc: %#x next_desc: %#llx ack: %d\n",
                ~~^
                %#llx

Introduced (or exposed?) by commit

  00c9755524fb ("dmaengine: iop-adma: use correct printk format strings")

-- 
Cheers,
Stephen Rothwell

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-08-15 23:23 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 23:23 Stephen Rothwell [this message]
2019-08-15 23:23 ` linux-next: build warning after merge of the arm-soc tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2023-06-22  0:48 Stephen Rothwell
2023-06-22  0:48 ` Stephen Rothwell
2023-06-22  8:19 ` Arnd Bergmann
2023-06-22  8:19   ` Arnd Bergmann
2023-06-22  8:26   ` Krzysztof Kozlowski
2023-06-22  8:26     ` Krzysztof Kozlowski
2023-06-22 13:55   ` Rob Herring
2023-06-22 13:55     ` Rob Herring
2021-12-22 21:59 Stephen Rothwell
2021-12-22 21:59 ` Stephen Rothwell
2021-12-22 23:22 ` Arnd Bergmann
2021-12-22 23:22   ` Arnd Bergmann
2021-12-22 23:58   ` Florian Fainelli
2021-12-22 23:58     ` Florian Fainelli
2021-12-23  8:50     ` Arınç ÜNAL
2021-12-23  8:50       ` Arınç ÜNAL
2021-12-23 18:18       ` Florian Fainelli
2021-12-23 18:18         ` Florian Fainelli
2021-10-25 23:39 Stephen Rothwell
2021-10-25 23:39 ` Stephen Rothwell
2021-10-26  6:15 ` Joel Stanley
2021-10-26  6:15   ` Joel Stanley
2022-01-20  3:22   ` Stephen Rothwell
2022-01-20  3:22     ` Stephen Rothwell
2022-01-20  6:03     ` ChiaWei Wang
2022-01-20  6:03       ` ChiaWei Wang
2021-04-06  0:45 Stephen Rothwell
2021-04-06  0:45 ` Stephen Rothwell
2021-04-06  6:34 ` Krzysztof Kozlowski
2021-04-06  6:34   ` Krzysztof Kozlowski
2019-08-15 23:25 Stephen Rothwell
2019-08-15 23:25 ` Stephen Rothwell
2019-04-29 23:28 Stephen Rothwell
2019-04-29 23:28 ` Stephen Rothwell
2019-05-03  6:49 ` Linus Walleij
2019-05-03  6:49   ` Linus Walleij
2019-05-03 12:57   ` Arnd Bergmann
2019-05-03 12:57     ` Arnd Bergmann
2014-01-19 23:39 Stephen Rothwell
2014-01-19 23:39 ` Stephen Rothwell
2014-01-19 23:39 ` Stephen Rothwell
2012-03-19  7:39 Stephen Rothwell
2012-03-19  7:39 ` Stephen Rothwell
2012-03-19  7:39 ` Stephen Rothwell
2012-03-19  9:40 ` Arnd Bergmann
2012-03-19  9:40   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190816092341.06899516@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=olof@lixom.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.