Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1499584ybh; Sun, 19 Jul 2020 22:53:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDEICwi3U9nMrWgv7rtd2PH+B9CumqUmn+0b5JYrJfp/2yS9bSTwdvheGIl+yk5PmCjEyF X-Received: by 2002:a17:906:4447:: with SMTP id i7mr18565675ejp.191.1595224399319; Sun, 19 Jul 2020 22:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595224399; cv=none; d=google.com; s=arc-20160816; b=ig2QUc7sB96TfF2iw4EK9pCGlQNDT+WLcI6dCvc2NaUeEMtvub65xcrliLVnbvVQqa 7ojQduyvzGYC6ixYmckcAnMjAEMuMo8KiDqslfW9tnINvT8cectwjEXflncPrUbfe/G6 rGKVgZjNxhVlQqWZofVw88u/IJL6kCrC9D1fa9n877v6MuXxOA8tyV1ssTD1XqmBHUHK 6CoVOOmVUsOfpmZ9GmFS0X3S6s3mBlXksNnKDozSClJ4ROVPn3PdTML6mcXpW0ovX3Og 3F2IqmI5mnt1B2Kwhvkr7faklkMbg1Vl+yp1QsAc4ldwpPZPUVxQM+bGud6jZt73/fuH /Gww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=A45Jo+OHd/T04HS4/RieAb3978Ph7ac/bC5N/0uTmAs=; b=ETEWl6jO/kXSJGcJ1p2UOBOp56jLsCHhPuTX0Y7zZoilOFRdVc2iUkgCwSMj4yga8n PhUL7130pPow65vpwSCzMG/bWgBV9SoKgHX/EgVcBVSXSGZ0xLT/guaoJpg/ipOVb7YE /Rw+Twr84sWKHGfFUzwwIzoe7e7hQkymakTyNI5aHDVS3jJOgoyHI4lKzN9VOLGhXqZs k79YLHCei9wqxsWGJwBg+CD0xxKae6ZIGbMg9U42JDgTXLeDFegSI+7UTVLT3RZqjPNb mv3SNpvWzu11upDG7SbY/SnAzEKpArSEhzM8BrrsAhbR4gC8E1Y6z8t+zufk4THeaDpG Z9Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=I1UNQqWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qo11si10173221ejb.566.2020.07.19.22.52.56; Sun, 19 Jul 2020 22:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=I1UNQqWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726017AbgGTFwq (ORCPT + 99 others); Mon, 20 Jul 2020 01:52:46 -0400 Received: from mail.mutex.one ([62.77.152.124]:50204 "EHLO mail.mutex.one" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgGTFwq (ORCPT ); Mon, 20 Jul 2020 01:52:46 -0400 X-Greylist: delayed 1266 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Jul 2020 01:52:45 EDT Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id 43542BF40804; Mon, 20 Jul 2020 08:31:38 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D7lWadLv2zUF; Mon, 20 Jul 2020 08:31:25 +0300 (EEST) Received: [127.0.0.1] (localhost [127.0.0.1])nknown [109.103.89.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mutex.one (Postfix) with ESMTPSA id 1E54BBF4081B; Mon, 20 Jul 2020 08:31:25 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1595223085; bh=3Q9wo/RG1dE1G4AJjRDMl1EzN2ABC523RLFu8lO45+o=; h=From:To:Cc:Subject:Date:From; b=I1UNQqWcpweA0tJO4MSGrr+sXL60dyCyzOC0yYAVR6sUE6sE5bxzNnk0ctkdwzKIW myXeWMd10HeFDieroyfgs5xF1lbiV/L73zc+2b12jPmkoWCYM0SrbssyNUDisfQrRu rqINk9076cV13yEncmTngZt59JTweN9igrDykisI= From: Marian Posteuca To: Ioana Radulescu , Ioana Ciornei , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Cc: Marian Posteuca Subject: [PATCH] staging: dpaa2-ethsw: fix switch/case fallthrough warning Date: Mon, 20 Jul 2020 08:30:36 +0300 Message-Id: <20200720053036.10383-1-posteuca@mutex.one> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the fallthrough warning that is reported by checkpatch. Signed-off-by: Marian Posteuca --- drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index 2fb75a7c9314..4986591097dc 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -1362,7 +1362,8 @@ static int port_switchdev_blocking_event(struct notifier_block *unused, return NOTIFY_DONE; switch (event) { - case SWITCHDEV_PORT_OBJ_ADD: /* fall through */ + case SWITCHDEV_PORT_OBJ_ADD: + fallthrough; case SWITCHDEV_PORT_OBJ_DEL: return ethsw_switchdev_port_obj_event(event, dev, ptr); case SWITCHDEV_PORT_ATTR_SET: -- 2.26.2