linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Grant Peltier <grantpeltier93@gmail.com>
Subject: Re: linux-next: build failure after merge of the hwmon-staging tree
Date: Sun, 22 Mar 2020 16:45:02 -0700	[thread overview]
Message-ID: <d49b3ff7-2150-e128-2d56-4330e4dc7f01@roeck-us.net> (raw)
In-Reply-To: <20200323103753.09474a57@canb.auug.org.au>


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

On 3/22/20 4:37 PM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the hwmon-staging tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/hwmon/pmbus/isl68137.c: In function 'raa_dmpvr2_read_word_data':
> drivers/hwmon/pmbus/isl68137.c:125:9: error: too few arguments to function 'pmbus_read_word_data'
>   125 |   ret = pmbus_read_word_data(client, page, RAA_DMPVR2_READ_VMON);
>       |         ^~~~~~~~~~~~~~~~~~~~
> In file included from drivers/hwmon/pmbus/isl68137.c:19:
> drivers/hwmon/pmbus/pmbus.h:466:5: note: declared here
>   466 | int pmbus_read_word_data(struct i2c_client *client, int page, int phase,
>       |     ^~~~~~~~~~~~~~~~~~~~
> drivers/hwmon/pmbus/isl68137.c: In function 'isl68137_probe':
> drivers/hwmon/pmbus/isl68137.c:199:24: error: assignment to 'int (*)(struct i2c_client *, int,  int,  int)' from incompatible pointer type 'int (*)(struct i2c_client *, int,  int)' [-Werror=incompatible-pointer-types]
>   199 |   info->read_word_data = raa_dmpvr2_read_word_data;
>       |                        ^
> drivers/hwmon/pmbus/isl68137.c:203:24: error: assignment to 'int (*)(struct i2c_client *, int,  int,  int)' from incompatible pointer type 'int (*)(struct i2c_client *, int,  int)' [-Werror=incompatible-pointer-types]
>   203 |   info->read_word_data = raa_dmpvr2_read_word_data;
>       |                        ^
> drivers/hwmon/pmbus/isl68137.c:206:24: error: assignment to 'int (*)(struct i2c_client *, int,  int,  int)' from incompatible pointer type 'int (*)(struct i2c_client *, int,  int)' [-Werror=incompatible-pointer-types]
>   206 |   info->read_word_data = raa_dmpvr2_read_word_data;
>       |                        ^
> drivers/hwmon/pmbus/isl68137.c:216:24: error: assignment to 'int (*)(struct i2c_client *, int,  int,  int)' from incompatible pointer type 'int (*)(struct i2c_client *, int,  int)' [-Werror=incompatible-pointer-types]
>   216 |   info->read_word_data = raa_dmpvr2_read_word_data;
>       |                        ^
> 
> Caused by commit
> 
>   96c72647bc37 ("hwmon: (pmbus) add support for 2nd Gen Renesas digital multiphase")
> 

Weird, 0day reported build success. Or at least I thought so.
Anyway, fixed.

Guenter


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

  reply	other threads:[~2020-03-22 23:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22 23:37 linux-next: build failure after merge of the hwmon-staging tree Stephen Rothwell
2020-03-22 23:45 ` Guenter Roeck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-27  5:41 Stephen Rothwell
2023-01-24 22:24 Stephen Rothwell
2023-01-24 22:27 ` Guenter Roeck
2022-08-30 23:30 Stephen Rothwell
2022-08-31 12:03 ` Michael Shych
2022-05-10 12:26 Stephen Rothwell
2020-10-01  2:53 Stephen Rothwell
2020-10-01 15:09 ` Guenter Roeck
2020-08-24  0:28 Stephen Rothwell
2020-08-24  7:01 ` Guenter Roeck
2020-04-28  6:36 Stephen Rothwell
2020-04-28 13:19 ` Guenter Roeck
2019-02-25 23:55 Stephen Rothwell
2019-02-26  0:11 ` Guenter Roeck
2018-12-16 23:00 Stephen Rothwell

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=d49b3ff7-2150-e128-2d56-4330e4dc7f01@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=grantpeltier93@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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).