All of lore.kernel.org
 help / color / mirror / Atom feed
From: Priyanka Jain <priyanka.jain@nxp.com>
To: u-boot@lists.denx.de
Subject: [v4 01/33] gpio: mpc8xxx_gpio: Fix for litte endian
Date: Fri, 5 Feb 2021 08:47:40 +0000	[thread overview]
Message-ID: <VE1PR04MB64943A118BBF9D314EAB5EA7E6B29@VE1PR04MB6494.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20210202082618.19258-2-biwen.li@oss.nxp.com>

>-----Original Message-----
>From: Biwen Li <biwen.li@oss.nxp.com>
>Sent: Tuesday, February 2, 2021 1:56 PM
>To: Priyanka Jain <priyanka.jain@nxp.com>
>Cc: Jiafei Pan <jiafei.pan@nxp.com>; u-boot at lists.denx.de; Xiaobo Xie
><xiaobo.xie@nxp.com>; Biwen Li <biwen.li@nxp.com>
>Subject: [v4 01/33] gpio: mpc8xxx_gpio: Fix for litte endian
>
>From: Biwen Li <biwen.li@nxp.com>
>
>Update gpio driver to use same logic for big-endian and little-endian
>
>Signed-off-by: Biwen Li <biwen.li@nxp.com>
>---
<snip>

Kindly fix build error for gazerbeam. Getting build error with the series.

2021-02-04T15:07:29.7741949Z +drivers/gpio/mpc8xxx_gpio.c: In function 'mpc8xxx_gpio_get_val':
2021-02-04T15:07:29.7742663Z +drivers/gpio/mpc8xxx_gpio.c:50:29: error: dereferencing pointer to incomplete type 'struct ccsr_gpio'
2021-02-04T15:07:29.7743291Z +   50 |   return in_le32(&data->base->gpdat) & mask;
2021-02-04T15:07:29.7743629Z +      |                             ^~
2021-02-04T15:07:29.7744194Z +drivers/gpio/mpc8xxx_gpio.c: In function 'mpc8xxx_gpio_get_dir':
2021-02-04T15:07:29.7745133Z +drivers/gpio/mpc8xxx_gpio.c:63:1: error: control reaches end of non-void function [-Werror=return-type]
2021-02-04T15:07:29.7746283Z +   63 | }
2021-02-04T15:07:29.7746512Z +      | ^
2021-02-04T15:07:29.7747146Z +drivers/gpio/mpc8xxx_gpio.c:53:1: error: control reaches end of non-void function [-Werror=return-type]
2021-02-04T15:07:29.7747526Z +   53 | }
2021-02-04T15:07:29.7747820Z +cc1: all warnings being treated as errors
2021-02-04T15:07:29.7748161Z +make[2]: *** [drivers/gpio/mpc8xxx_gpio.o] Error 1
2021-02-04T15:07:29.7748511Z +make[1]: *** [drivers/gpio] Error 2
2021-02-04T15:07:29.7748954Z +make: *** [sub-make] Error 2

Regards
Priyanka

  reply	other threads:[~2021-02-05  8:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02  8:25 [v4 00/33] gpio: layerscape: fix gpio and enable gpio Biwen Li
2021-02-02  8:25 ` [v4 01/33] gpio: mpc8xxx_gpio: Fix for litte endian Biwen Li
2021-02-05  8:47   ` Priyanka Jain [this message]
2021-02-02  8:25 ` [v4 02/33] arm: dts: ls1021a: add gpio node Biwen Li
2021-02-02  8:25 ` [v4 03/33] arm64: dts: ls1012a: " Biwen Li
2021-02-02  8:25 ` [v4 04/33] arm64: dts: ls1028a: " Biwen Li
2021-02-02  8:25 ` [v4 05/33] arm64: dts: ls1043a: " Biwen Li
2021-02-02  8:25 ` [v4 06/33] arm64: dts: ls1046a: " Biwen Li
2021-02-02  8:25 ` [v4 07/33] arm64: dts: ls1088a: " Biwen Li
2021-02-02  8:25 ` [v4 08/33] arm64: dts: ls208xa: " Biwen Li
2021-02-02  8:25 ` [v4 09/33] configs: ls1012a: enable CONFIG_MPC8XXX_GPIO Biwen Li
2021-02-02  8:25 ` [v4 10/33] configs: ls1043a: " Biwen Li
2021-02-02  8:25 ` [v4 11/33] configs: ls1028a: " Biwen Li
2021-02-02  8:25 ` [v4 12/33] configs: ls1088a: " Biwen Li
2021-02-02  8:25 ` [v4 13/33] configs: ls208xa: " Biwen Li
2021-02-02  8:25 ` [v4 14/33] configs: lx2160a: " Biwen Li
2021-02-02  8:26 ` [v4 15/33] configs: ls1046a: enable MPC8XXX_GPIO Biwen Li
2021-02-02  8:26 ` [v4 16/33] configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO Biwen Li
2021-02-02  8:26 ` [v4 17/33] configs: ls1021aqds: " Biwen Li
2021-02-02  8:26 ` [v4 18/33] configs: ls1012afrwy: enable CMD_GPIO Biwen Li
2021-02-02  8:26 ` [v4 19/33] configs: ls1012ardb: " Biwen Li
2021-02-02  8:26 ` [v4 20/33] configs: ls1021aqds: " Biwen Li
2021-02-02  8:26 ` [v4 21/33] configs: ls1021atwr: " Biwen Li
2021-02-02  8:26 ` [v4 22/33] configs: ls1028aqds: " Biwen Li
2021-02-02  8:26 ` [v4 23/33] configs: ls1028ardb: " Biwen Li
2021-02-02  8:26 ` [v4 24/33] configs: ls1043aqds: " Biwen Li
2021-02-02  8:26 ` [v4 25/33] configs: ls1043ardb: " Biwen Li
2021-02-02  8:26 ` [v4 26/33] configs: ls1046ardb: " Biwen Li
2021-02-02  8:26 ` [v4 27/33] configs: ls1046aqds: " Biwen Li
2021-02-02  8:26 ` [v4 28/33] configs: ls2088ardb: enable DM_GPIO and CMD_GPIO Biwen Li
2021-02-02  8:26 ` [v4 29/33] configs: ls2088aqds: enable CMD_GPIO Biwen Li
2021-02-02  8:26 ` [v4 30/33] configs: ls1088aqds: enable DM_GPIO and CMD_GPIO Biwen Li
2021-02-02  8:26 ` [v4 31/33] configs: ls1088ardb: " Biwen Li
2021-02-02  8:26 ` [v4 32/33] configs: lx2160ardb: enable CMD_GPIO Biwen Li
2021-02-02  8:26 ` [v4 33/33] configs: lx2160aqds: " Biwen Li

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=VE1PR04MB64943A118BBF9D314EAB5EA7E6B29@VE1PR04MB6494.eurprd04.prod.outlook.com \
    --to=priyanka.jain@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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.