Hi David,

On Tue, Jul 7, 2015 at 4:43 PM, David Binderman <[email protected]> wrote:
> Hello there,
>
> [linux-4.2-rc1/drivers/spi/spi-zynqmp-gqspi.c:218]: (warning) Variable 
> 'genfifocs' is reassigned a value before the old one has been used. 'break;' 
> missing?
>

Yes, thanks.
Dan Carpenter sent this patch to fix it:
 spi: zynq: missing break statement

Regards,
Harini

> Source code is
>
>     case GQSPI_SELECT_FLASH_CS_BOTH:
>         instanceptr->genfifocs = GQSPI_GENFIFO_CS_LOWER |
>             GQSPI_GENFIFO_CS_UPPER;
>     case GQSPI_SELECT_FLASH_CS_UPPER:
>
> Regards
>
> David Binderman
>
>                                           --
> To unsubscribe from this list: send the line "unsubscribe linux-spi" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to