linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Benson Leung <bleung@google.com>,
	Guenter Roeck <groeck@chromium.org>,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Nick Crews <ncrews@chromium.org>
Subject: linux-next: build warning after merge of the chrome-platform tree
Date: Tue, 16 Apr 2019 14:30:30 +1000	[thread overview]
Message-ID: <20190416143030.07537982@canb.auug.org.au> (raw)

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

Hi all,

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

In file included from drivers/platform/chrome/wilco_ec/debugfs.c:11:
drivers/platform/chrome/wilco_ec/debugfs.c: In function 'fops_h1_gpio_open':
drivers/platform/chrome/wilco_ec/debugfs.c:210:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
 DEFINE_DEBUGFS_ATTRIBUTE(fops_h1_gpio, h1_gpio_get, NULL, "0x%02x\n");
                                                           ^~~~~~~~~~
include/linux/debugfs.h:45:29: note: in definition of macro 'DEFINE_DEBUGFS_ATTRIBUTE'
  __simple_attr_check_format(__fmt, 0ull);   \
                             ^~~~~

Introduced by commit

  db6c540a0018 ("platform/chrome: wilco_ec: Add h1_gpio status to debugfs")

-- 
Cheers,
Stephen Rothwell

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

             reply	other threads:[~2019-04-16  4:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16  4:30 Stephen Rothwell [this message]
2019-04-16  9:09 ` linux-next: build warning after merge of the chrome-platform tree Enric Balletbo i Serra
2021-08-23  5:21 Stephen Rothwell
2021-08-30  7:21 ` Stephen Rothwell
2021-08-31  0:17   ` Benson Leung
2021-08-31  0:32     ` Stephen Rothwell
2022-05-16 11:38 Stephen Rothwell
2022-05-17 13:09 ` Muhammad Usama Anjum
2022-05-18  3:23   ` Bagas Sanjaya
2022-05-18  3:39     ` Tzung-Bi Shih
2022-05-18  4:24     ` Muhammad Usama Anjum

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=20190416143030.07537982@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=bleung@google.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=enric.balletbo@collabora.com \
    --cc=groeck@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=ncrews@chromium.org \
    /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 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).