Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4628526ybl; Wed, 22 Jan 2020 01:34:35 -0800 (PST) X-Google-Smtp-Source: APXvYqyBX2CN5Iito446Yg1kst2vax3Fh2mK6H9+TBD2UYq86+cSf4H+XAem8eH/1fGLR61FTHmw X-Received: by 2002:a05:6808:244:: with SMTP id m4mr6282462oie.125.1579685675791; Wed, 22 Jan 2020 01:34:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579685675; cv=none; d=google.com; s=arc-20160816; b=FSyNxeOMEFSzJiFolF4obPK5hxmh+PIxDwUvoomWfRaX3/wXhYw6z9p1X8BivGarry 4RfCxijw2+ogVJqeAfxiKmUoWdnIZGBlja8Vro6OM1x4aXH45O90vGJYOvcBDJtXk4lk XC10DeUWx23mdA9Xm+xb3sVyBGLMgvy1fa9wfwyYDtf4o92hjvD9mOJMDsDTJLq2+TGI Q1j9N87YpUBH7WPwoVVWbBgI1547vNXga73MhAOW0bpK5iNh3qniTflzUxXJgyzlxB7i UOjEL2rWMx1D7nGcXcSVRyfjrsp8rnYuFXlE5aCC0bPwujQXKpRn2cwHVgCVVdZ9Kq7M kH0w== 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=lunO/2+SqAUbw9W9M1Q7TrkDF8ntgeKFudU94JyHi4s=; b=hdx9CWwN78X/rt8qyQa+bhTVlE53JZfhYD3wn9jNlxjpdJI4inHX503lLG2NMGy9/u WRE/hZ0rEwOoVz0adO8OB1SY1LroGoYoWhfFFRlszVuRBltmpabhfASgK6i7+6eb9Bs/ i+TNXD1tfibRyG6qHDQMVEn144ukB6kjVk/3gfT/2AJVOFqj8VQBWPQcOqWbd9Epy4cN rZp9LiwGE5mStRm9qdE8PEOfihskpLOQI8F5Cve3MCIm+e5iklnLX0bsCgLMl22VE8Zk LHHHt6/Bux/OjlSNr1QYDN8IM7fElv5i6It2MH+ByoJqYenxBnNvtUhovNI4OMR5Vvch U6fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dgQPQZNG; 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 t14si24329265otp.210.2020.01.22.01.34.24; Wed, 22 Jan 2020 01:34:35 -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=dgQPQZNG; 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 S1730265AbgAVJcz (ORCPT + 99 others); Wed, 22 Jan 2020 04:32:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:46094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730258AbgAVJcw (ORCPT ); Wed, 22 Jan 2020 04:32:52 -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 DD3D424673; Wed, 22 Jan 2020 09:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579685572; bh=T6Bz7GzP/Tc70fMoKXyvu0ibzBZJF2aJQbCdC6q0keg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dgQPQZNGZMO+tO0fi9kbkZB7LATtYv50ZU4vUvjf770t9ds7Ptp2xMeBl+WuxXR61 849MPooQP8u2cVT3K6kLLYe0gcxDzS7I/dIvMWYGW8tF6j/6c1nBWtiP1nvmKGj8LD z0DZx65kRVOLTbLdNCGc0o/D7wGurT0X7B4Wnk2M= 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.4 67/76] xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk Date: Wed, 22 Jan 2020 10:29:23 +0100 Message-Id: <20200122092801.587987713@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092751.587775548@linuxfoundation.org> References: <20200122092751.587775548@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 @@ -952,8 +952,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;