Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1484917pxb; Fri, 20 Nov 2020 10:34:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtHCb8ZYeJxEDwJPrfz/g4rZ0A80jY2L7ITWTokTbDzt0gL3/qwuGX+HEAqakWaiYWwzgm X-Received: by 2002:a17:906:d92c:: with SMTP id rn12mr2001111ejb.472.1605897286149; Fri, 20 Nov 2020 10:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605897286; cv=none; d=google.com; s=arc-20160816; b=Za4grJPj0Ost+igPqahoOle30kQSI4CsQkzKFd5k2YEV6/2CADFCpydTq3YmGVLqTF 80nCTIY3RPsgu0s/EZDaSMUFhjTEh7szYSN3oAEGMtyPIEZ1g97WigEbhBYJ4oUizqqR ox4qXC/OOfWK+puBGcuchLIaZCpFNIAC6CPh5JDe6rbomWVnRJV3snsvQG0/6HCbviNr wLsGJO2dlq6jBbp5fRk1VTCDx3cWY4iWZmBFqHCsLQtFLS8/MiHSKUcXiAfOEoLBQIu2 7Z98Bkk8cpmJU97rHu5vIxnrsWN+9NqXUv8SgWwr58JrFWSU0aqXgzjlKWQWP0uUjnMv IHfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=J3jYTPf6foLajs5rQsAVuB8tlXMwSEstedXrzqkspl4=; b=th1AZ44umJUsgyKivvo8B6h2aiKIQxmbjvNB9q2fmwP71gRbvVy5wFUpcSvo56DCk/ dHWJHorNCCissYf2HRF7eryWvPuhFM/pHvP++Wxmp5icRh55ivP7qqukeS+2c7DPeK5U MSs2XhSX5MI700BIYCTbjUxLQP59Ygd5nIZcS+iyFxkVNYYv+yKyAimQhTzf3NKOH6UA G2ario/2ero00AzhihjiWE+SjowuD9zxT6Ca7RJjSfanyOOu0l09awpC3hFvFKasn/zf NARUV5YQXhP/jtuc8d/wAnX0itAWm4mdYdOF003uaMkUx2AMvL5dH/7yvqne/4ts6m7R P92Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fxwEEcwa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si2167618ejq.582.2020.11.20.10.34.23; Fri, 20 Nov 2020 10:34:46 -0800 (PST) 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=@kernel.org header.s=default header.b=fxwEEcwa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730743AbgKTScz (ORCPT + 99 others); Fri, 20 Nov 2020 13:32:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:52084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730480AbgKTScx (ORCPT ); Fri, 20 Nov 2020 13:32:53 -0500 Received: from embeddedor (187-162-31-110.static.axtel.net [187.162.31.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E38B524197; Fri, 20 Nov 2020 18:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605897173; bh=GZOB0IrDdnCJYoRPlfA0gPLtj77XQYyYZviKM6e//7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fxwEEcwauxahs/YS06KosdG+kfU0QYX/CNXJsLjFY/I/IEeXbs3S6BntDjjFzARac ehmJRMC3REHriA8zRE/J/MIeGvJ2lsg9FlcRz6tF5irxnVizR03hvPO8OiHUmwm6qr ZjzUvYeaIBKuXmmG1X82Jc6XpGzzMvcigHSA+hYc= Date: Fri, 20 Nov 2020 12:32:58 -0600 From: "Gustavo A. R. Silva" To: Konrad Rzeszutek Wilk , Roger Pau =?iso-8859-1?Q?Monn=E9?= , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Jens Axboe Cc: xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 058/141] xen-blkfront: Fix fall-through warnings for Clang Message-ID: <33057688012c34dd60315ad765ff63f070e98c0c.1605896059.git.gustavoars@kernel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva --- drivers/block/xen-blkfront.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 48629d3433b4..34b028be78ab 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -2462,6 +2462,7 @@ static void blkback_changed(struct xenbus_device *dev, break; if (talk_to_blkback(dev, info)) break; + break; case XenbusStateInitialising: case XenbusStateInitialised: case XenbusStateReconfiguring: -- 2.27.0