All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Cc: Andrew Jeffery <andrew@aj.id.au>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: [PATCH dev-5.4 00/14] PECI device driver introduction
Date: Wed, 18 Dec 2019 04:17:43 +0000	[thread overview]
Message-ID: <CACPK8XezVTqvKRvJfxua=76H2aSdgEQrSaryZ0sqpM_ejV=6zQ@mail.gmail.com> (raw)
In-Reply-To: <CACPK8Xd1fEh-o_5XR=QFppfR=HiQVbz60KjUFvjX7Lh7b9Le2g@mail.gmail.com>

On Wed, 18 Dec 2019 at 03:08, Joel Stanley <joel@jms.id.au> wrote:
>
> On Wed, 18 Dec 2019 at 01:28, Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> wrote:
> >
> > I'm still trying to upstream it but it would take more time so I'm sending
> > it to OpenBMC list to get cherry picked in the meantime.
> >
> > I rebased it on dev-5.4 branch and it includes fixes for addressing
> > upstream review comments I've got so far.
> >
> > Below change should be removed from the OpenBMC linux tree before applying
> > it to avoid conflicts:
> >
> > c31349b9039281107b948bf94ed5e53c235c8081 (ARM: dts: aspeed: peci: Add PECI node)
> >
>
> Thanks. I have applied this to dev-5.4. Please test.

When CONFIG_OF_DYNAMIC=y we get this build failure:

../drivers/peci/peci-core.c:1717:52: error: passing argument 4 of
‘bus_find_device’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
 1717 |  dev = bus_find_device(&peci_bus_type, NULL, node, peci_of_match_node);
      |                                                    ^~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    int
(*)(struct device *, void *)
In file included from ../include/linux/node.h:18,
                 from ../include/linux/cpu.h:17,
                 from ../include/linux/of_device.h:5,
                 from ../drivers/peci/peci-core.c:8:
../include/linux/device.h:176:16: note: expected ‘int (*)(struct
device *, const void *)’ but argument is of type ‘int (*)(struct
device *, void *)’
  176 | struct device *bus_find_device(struct bus_type *bus, struct
device *start,
      |                ^~~~~~~~~~~~~~~
../drivers/peci/peci-core.c: In function ‘peci_of_find_adapter’:
../drivers/peci/peci-core.c:1734:52: error: passing argument 4 of
‘bus_find_device’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
 1734 |  dev = bus_find_device(&peci_bus_type, NULL, node, peci_of_match_node);
      |                                                    ^~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    int
(*)(struct device *, void *)
In file included from ../include/linux/node.h:18,
                 from ../include/linux/cpu.h:17,
                 from ../include/linux/of_device.h:5,
                 from ../drivers/peci/peci-core.c:8:
../include/linux/device.h:176:16: note: expected ‘int (*)(struct
device *, const void *)’ but argument is of type ‘int (*)(struct
device *, void *)’
  176 | struct device *bus_find_device(struct bus_type *bus, struct
device *start,
      |                ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Additioanlly, the nuvoton device trees in dev-5.4 did not compile. I
will send a patch for that.

Cheers,

Joel

  reply	other threads:[~2019-12-18  4:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18  1:27 [PATCH dev-5.4 00/14] PECI device driver introduction Jae Hyun Yoo
2019-12-18  1:27 ` [PATCH dev-5.4 01/14] dt-bindings: Add PECI subsystem document Jae Hyun Yoo
2019-12-18  1:27 ` [PATCH dev-5.4 02/14] Documentation: ioctl: Add ioctl numbers for PECI subsystem Jae Hyun Yoo
2019-12-18  1:27 ` [PATCH dev-5.4 03/14] peci: Add support for PECI bus driver core Jae Hyun Yoo
2019-12-18  1:27 ` [PATCH dev-5.4 04/14] dt-bindings: Add bindings document of Aspeed PECI adapter Jae Hyun Yoo
2019-12-18  1:27 ` [PATCH dev-5.4 05/14] ARM: dts: aspeed: Add PECI node Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 06/14] peci: Add Aspeed PECI adapter driver Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 07/14] dt-bindings: peci: add NPCM PECI documentation Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 08/14] ARM: dts: npcm7xx: Add PECI node Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 09/14] peci: npcm: add NPCM PECI driver Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 10/14] dt-bindings: mfd: Add Intel PECI client bindings document Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 11/14] mfd: intel-peci-client: Add Intel PECI client driver Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 12/14] Documentation: hwmon: Add documents for PECI hwmon drivers Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 13/14] hwmon: Add PECI cputemp driver Jae Hyun Yoo
2019-12-18  1:28 ` [PATCH dev-5.4 14/14] hwmon: Add PECI dimmtemp driver Jae Hyun Yoo
2019-12-18  3:08 ` [PATCH dev-5.4 00/14] PECI device driver introduction Joel Stanley
2019-12-18  4:17   ` Joel Stanley [this message]
2019-12-18  8:01     ` Jae Hyun Yoo

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='CACPK8XezVTqvKRvJfxua=76H2aSdgEQrSaryZ0sqpM_ejV=6zQ@mail.gmail.com' \
    --to=joel@jms.id.au \
    --cc=andrew@aj.id.au \
    --cc=jae.hyun.yoo@linux.intel.com \
    --cc=openbmc@lists.ozlabs.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 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.