From mboxrd@z Thu Jan 1 00:00:00 1970 From: Priyanka Jain Date: Fri, 5 Feb 2021 08:47:40 +0000 Subject: [v4 01/33] gpio: mpc8xxx_gpio: Fix for litte endian In-Reply-To: <20210202082618.19258-2-biwen.li@oss.nxp.com> References: <20210202082618.19258-1-biwen.li@oss.nxp.com> <20210202082618.19258-2-biwen.li@oss.nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >-----Original Message----- >From: Biwen Li >Sent: Tuesday, February 2, 2021 1:56 PM >To: Priyanka Jain >Cc: Jiafei Pan ; u-boot at lists.denx.de; Xiaobo Xie >; Biwen Li >Subject: [v4 01/33] gpio: mpc8xxx_gpio: Fix for litte endian > >From: Biwen Li > >Update gpio driver to use same logic for big-endian and little-endian > >Signed-off-by: Biwen Li >--- 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