On Tue, May 24, 2016 at 10:57:46PM +0900, Rin Okuyama wrote:
> Hi,
> 
> Build fails for non-DIAGNOSTIC kernel with awingpio(4):
> 
> src/sys/arch/arm/allwinner/awin_gpio.c: In function 'awin_gpio_pin_irqen':
> src/sys/arch/arm/allwinner/awin_gpio.c:937:37: error: unused variable 'grp' 
> [-Werror=unused-variable]
>   struct awin_gpio_pin_group * const grp = cookie;
>                                      ^
> 
> This is because variable "grp" is only used as an argument for
> KASSERT(9). Please apply the attached patch.

I commited a different fix, which is to remove the KASSERT and the grp
variable. 
Thanks for the report !

-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Reply via email to