Re: linux-4.2-rc1/drivers/spi/spi-zynqmp-gqspi.c:215: possible missing break ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Tue, Jul 7, 2015 at 4:43 PM, David Binderman <dcb314@xxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux