Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4631741ybl; Wed, 22 Jan 2020 01:38:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxft/nIMJC/ZaUcZ/DCfhS48Yo1RiLVyCLRU6WEte5Cc3cYPt1P3fzlKkmRn2M1/yK9LChM X-Received: by 2002:a05:6830:1689:: with SMTP id k9mr6764830otr.311.1579685933831; Wed, 22 Jan 2020 01:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579685933; cv=none; d=google.com; s=arc-20160816; b=e/e9Ee4xzkS6TwWMbOkO7vKx2rwbAYD7AhAuGffVYiX7Hae+la8tLwlsgtjgjNW+jo PqNzAUbda4gx7DFBbTadJmrnK5hLlDLXOJCOXpVt6BFh+mOXPVZtdmoDlJg1o2tNZbEC +XsMsbFNV/WlmNFvYNOiI92EISKd/Yim0nTpFfwP1j9LL58Zmm71sdbQ1Vd5DXDh3Kmg VIMN74hkVQ78CJobpnyQw99BnlMwDlnwVKr/rg+pEOtiu+t37aKk3WxMpt0qzm9GCCOK 8idq6bXPob86xkHkHHPb5cZ9vzxxtznRV+diXcRD6PIhSCzwF72hiwsKtn8dRvp/ET3N TW7w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AW9JtBgCC0wHcAAZ4qK07KMTgw/3lEoUQ5eN6rS9xNk=; b=aSjbakxnIGPEn9FUmEClcjMRDvkmgXwoHvfcMePaN8rWJUj1SP0789Kh2IQyL3G8L+ yIFx4a55gs0Duscuh/Ahm0jtCqORXPh9/c/Kog2mxcK73mmqRaIxpEVscp1Jix+5CGqm +Rv1q+TlFVmcShPdhz+iMu15ey06PON0BP643RcCeyu9tp6/yrdbZ7ADzdXV41anJiKj 1GQXJGyQpZs47GfDvvdifDONQWVwk9BrhBmZfaWD6LFXQJNzx22jO75hhjAscO5l/xTt KD+kdTO4qZDApS9ukSDfzQX3r/Z3u4F1T8z/WrZ05wlkbehqbY00FR7yPwPF8yVN4432 3a7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ov7ws+fe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j70si21893068oib.219.2020.01.22.01.38.42; Wed, 22 Jan 2020 01:38:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ov7ws+fe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732259AbgAVJgx (ORCPT + 99 others); Wed, 22 Jan 2020 04:36:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:52448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730573AbgAVJgu (ORCPT ); Wed, 22 Jan 2020 04:36:50 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 9FFA72467B; Wed, 22 Jan 2020 09:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579685809; bh=6iiW+6cKKI/kGdLzzH3K+plX8sGlQdE7VetFRoAKqLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ov7ws+feAI/zu8PTU0wUrc6YFDx+I3lAxLQVtQwjjc6Pgj7zXmS8zGjEswHIejqD9 S7Wvf5xP5deZV+jsNvAASM8BWzhSk4kKqAcDkthJM5eOoUrjMSufMIJWe0ko9gCE17 HR/NcXgevyu3sjrstahKCihOBUaajMLp834hMwds= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH 4.9 87/97] xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk Date: Wed, 22 Jan 2020 10:29:31 +0100 Message-Id: <20200122092810.259748100@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092755.678349497@linuxfoundation.org> References: <20200122092755.678349497@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nathan Chancellor commit 589b72894f53124a39d1bb3c0cecaf9dcabac417 upstream. Clang warns: ../drivers/block/xen-blkfront.c:1117:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] nr_parts = PARTS_PER_DISK; ^ ../drivers/block/xen-blkfront.c:1115:3: note: previous statement is here if (err) ^ This is because there is a space at the beginning of this line; remove it so that the indentation is consistent according to the Linux kernel coding style and clang no longer warns. While we are here, the previous line has some trailing whitespace; clean that up as well. Fixes: c80a420995e7 ("xen-blkfront: handle Xen major numbers other than XENVBD") Link: https://github.com/ClangBuiltLinux/linux/issues/791 Signed-off-by: Nathan Chancellor Reviewed-by: Juergen Gross Acked-by: Roger Pau Monné Signed-off-by: Juergen Gross Signed-off-by: Greg Kroah-Hartman --- drivers/block/xen-blkfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -1104,8 +1104,8 @@ static int xlvbd_alloc_gendisk(blkif_sec if (!VDEV_IS_EXTENDED(info->vdevice)) { err = xen_translate_vdev(info->vdevice, &minor, &offset); if (err) - return err; - nr_parts = PARTS_PER_DISK; + return err; + nr_parts = PARTS_PER_DISK; } else { minor = BLKIF_MINOR_EXT(info->vdevice); nr_parts = PARTS_PER_EXT_DISK;