Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4640478ybl; Wed, 22 Jan 2020 01:50:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwVmv5cvj1zN3xLijtRB+F3AlXu5ZuC/hb8MBJmLwhp6xLIUPIgO/3EMdekQOINRMd5mVqS X-Received: by 2002:aca:5793:: with SMTP id l141mr5945749oib.38.1579686650351; Wed, 22 Jan 2020 01:50:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579686650; cv=none; d=google.com; s=arc-20160816; b=PR7f93dBBayh3GHfa3umcEhfjlMjohX68AAFfjDDazSkuMWQ/xO7iZsO9n4rp5eT3U aBGXSYA0x5BXSE/Br5e94CmhjqQH7NTp4fOrLQS8npJPnw8ZcYOXeAjnCqWmQVeNJ4tf FokT9b6VW+/TFE5WUpASgfYgNvZ7yB8S3ho7IKUx4+jdCq6etySevBRyLq1bDM+bUUu9 1PT8Tc+KnMZe9S/aKFKQEGvMf7m1h/kVpONKV0SBUX/oaiiSapqGtRXDBcJCPsWc00ch HFOjoMe+BDV/KH9GDDjLsvjkbDDnYDeXKUrolvRasz4qLljQvcgoGsHZJAE0mSIlZTb9 hVEw== 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=7ABDwPbHrRUqBtAyyzcNt3T+Q8VDhQoTuhKgYOs6O0w=; b=stjTjB6MNaovwy9oN9WYCkWwaLg3gzW5HRCkAMc7Srs+U07WfCinGYazwHbWyw6qI7 8tio084bpnKN+5kg0HLIbBfpWqvyLYjpnLz8EatKbfXKQNhokzuntja9zU4Xdf6jzvlk iRDFrpSEtGzbOi7B9S7IIRF4zBaamPOwbgZUcDwaR/W/ZbqTDBiCPKiYoccigvPyd0Ha BdN/lF4+PAk6mo3FXYqQvySqJkG8uEORjcztskQX1EC/JfI7QGgheC++DQoutuSiQYnV lY3I9DE2JMOO1dhgfm4gqijQoZO8uVFbncC4KxoB2LWASnccbMZEZLqGLU0l+9dYp3kU dyMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cTnQJE3g; 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 h13si25674773otk.291.2020.01.22.01.50.38; Wed, 22 Jan 2020 01:50:50 -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=cTnQJE3g; 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 S1733181AbgAVJjS (ORCPT + 99 others); Wed, 22 Jan 2020 04:39:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:56768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732372AbgAVJjQ (ORCPT ); Wed, 22 Jan 2020 04:39:16 -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 5CB5824683; Wed, 22 Jan 2020 09:39:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579685955; bh=qoMCuMQpvnOIkcYaIt6WZ54nxWK5b5EAI4RuxSYfFYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cTnQJE3gA6uDESWTq+cz2FITCq48N1lCE7ANRJEfz2oddRAmSmc2jXr9pLpxCEXrN EiiFe75VbHzUjTXG4UoWIusHZ6NOpnkFt7ZOMCJuqm0GWotEMpk1svcdaLoI9kYgh1 jNjr3ENwwi9o4dMkNPXJ80z9B6NXsnre42wTBj+Y= 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.14 50/65] xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk Date: Wed, 22 Jan 2020 10:29:35 +0100 Message-Id: <20200122092758.425246199@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092750.976732974@linuxfoundation.org> References: <20200122092750.976732974@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 @@ -1115,8 +1115,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;