[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf2645c4-c192-a7b1-cf6e-9276f6b3b6c9@embeddedor.com>
Date: Wed, 19 Dec 2018 16:26:26 -0600
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Intel SCU Linux support <intel-linux-scu@...el.com>,
Artur Paszkiewicz <artur.paszkiewicz@...el.com>
Cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 17/41] scsi: isci: phy: Mark expected switch fall-through
Hi,
Friendly ping:
Who can ack or review this patch, please?
Thanks
--
Gustavo
On 11/27/18 10:29 PM, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Addresses-Coverity-ID: 703127 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
> ---
> drivers/scsi/isci/phy.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c
> index 1deca8c5a94f..7f9b3f20e5e4 100644
> --- a/drivers/scsi/isci/phy.c
> +++ b/drivers/scsi/isci/phy.c
> @@ -778,6 +778,7 @@ enum sci_status sci_phy_event_handler(struct isci_phy *iphy, u32 event_code)
> break;
> case SCU_EVENT_LINK_FAILURE:
> scu_link_layer_set_txcomsas_timeout(iphy, SCU_SAS_LINK_LAYER_TXCOMSAS_NEGTIME_DEFAULT);
> + /* fall through */
> case SCU_EVENT_HARD_RESET_RECEIVED:
> /* Start the oob/sn state machine over again */
> sci_change_state(&iphy->sm, SCI_PHY_STARTING);
>
Powered by blists - more mailing lists