public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Sebastian Reichel <sre@kernel.org>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Quentin Schulz <quentin.schulz@free-electrons.com>
Subject: linux-next: build warning after merge of the battery tree
Date: Thu, 5 Jan 2017 12:53:42 +1100	[thread overview]
Message-ID: <20170105125342.3dcce8ab@canb.auug.org.au> (raw)

Hi all,

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

drivers/power/supply/axp20x_usb_power.c: In function 'axp20x_usb_power_probe':
drivers/power/supply/axp20x_usb_power.c:297:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  power->axp20x_id = (int)of_device_get_match_data(&pdev->dev);
                     ^

Introduced by commit

  0dcc70ca8644 ("power: supply: axp20x_usb_power: use of_device_id data field instead of device_is_compatible")

-- 
Cheers,
Stephen Rothwell

             reply	other threads:[~2017-01-05  1:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05  1:53 Stephen Rothwell [this message]
2017-01-05 23:29 ` linux-next: build warning after merge of the battery tree Sebastian Reichel
  -- strict thread matches above, loose matches on Subject: below --
2014-09-25  4:22 Stephen Rothwell
2014-09-25  7:00 ` Krzysztof Kozlowski
2012-06-19  4:54 Stephen Rothwell
2012-06-19  5:02 ` Anton Vorontsov

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=20170105125342.3dcce8ab@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=quentin.schulz@free-electrons.com \
    --cc=sre@kernel.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