From patchwork Thu Aug 29 12:31:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Suchanek X-Patchwork-Id: 11121301 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A03014F7 for ; Thu, 29 Aug 2019 12:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83AE42189D for ; Thu, 29 Aug 2019 12:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbfH2McG (ORCPT ); Thu, 29 Aug 2019 08:32:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:36388 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727069AbfH2McF (ORCPT ); Thu, 29 Aug 2019 08:32:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 741ECAFB6; Thu, 29 Aug 2019 12:32:04 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Michal Suchanek , "Manoj N. Kumar" , "Matthew R. Ochs" , Uma Krishnan , "James E.J. Bottomley" , "Martin K. Petersen" , Tyrel Datwyler , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Michael Cyr , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, target-devel@vger.kernel.org Subject: [PATCH 0/3] Fix fallthrough warnings. Date: Thu, 29 Aug 2019 14:31:59 +0200 Message-Id: X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org Build with recent compiler results in numerous fallthrough warnings. The code looks correct to me so just adding the comments to quiet gcc. Please review if the fallthrough was really intentional. Thanks Michal Michal Suchanek (3): scsi: cxlflash: Fix fallthrough warnings. scsi: ibmvfc: Fix fallthrough warnings. scsi: ibmvscsi: tgt: Fix fallthrough warnings. drivers/scsi/cxlflash/main.c | 8 ++++++++ drivers/scsi/ibmvscsi/ibmvfc.c | 3 +++ drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 3 +++ 3 files changed, 14 insertions(+)