Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5276636ybl; Tue, 10 Dec 2019 03:28:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyCZvOMcCeBN3dnN6wiH/LY0dQ4XWQsBa9oqu/4ifPby4PhOX/I+dt5enCdw1xfwa4oEEYx X-Received: by 2002:aca:d7c6:: with SMTP id o189mr3418601oig.130.1575977291473; Tue, 10 Dec 2019 03:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575977291; cv=none; d=google.com; s=arc-20160816; b=qB2NDFIA5twwNF9XG7lBOY5V1/JtvoeLn8kED9VVhSvMlBoxzKM7NkSqwfgtnofvYf 7xgQgfmUfshbpH6+S2phHRcgD6mY9l+4ZPxufMdECtDJBySyLaJYAPe84r3e9oQx55Oc qlLO/v6aUvVDSI2ZzBWvVnyty4bhMml2PzNCGepHK7UbwPWRfdUWHycaXWIQn2jo0Ehp QuSQoY8n+kFmZT0KKlWdThGzWCIdxcMbLEwh/LuVMo59ZsubaM4a0SX0rcZ7ndnJpNWd 5ECO96bUar0Evrtj5glJIFiGQo7/cE7tKVAMDuzT0aP74mcUvoqUO2yhaCvzgniBLYLl 0KoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :dkim-signature; bh=2kXBrUENrOoxmDIuDpU3T89RBo/RKPydCUCIDCvCZ8Q=; b=hWMiVqpxW1fiOBbr4WgQCwAeP79e538588qx3zc110LZJytQZZsxat8bzuB+6CQ3fP 9KyEVyNhI60LPAC+/V4MPB9clOSBpr4rhyXmVHm+T6AFwQ3voYCRyo8Woi+0MMc5U0zC qGD7xPQ03iVZriZyhBaIyNWKMVsVwfJkMoA2dVNwcaz1xyJUUReD1JA1XwfaQd6aHdrT NxihzBOdPy+fa3IbmbJGO2v9vKMG80HZriiocy0W4V8S6G6kGymQ78h3K73smWuD0jZQ KzDMi3ytUFqJzWGgNnjEaUx47N825nnCRrtrQEMwjG/2Z/bBsK9OpkrGmPX9EiLY3Kft 655A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@citrix.com header.s=securemail header.b=Yx7lpr0T; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si1540149oih.217.2019.12.10.03.27.59; Tue, 10 Dec 2019 03:28:11 -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=fail header.i=@citrix.com header.s=securemail header.b=Yx7lpr0T; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727333AbfLJL1Y (ORCPT + 99 others); Tue, 10 Dec 2019 06:27:24 -0500 Received: from esa5.hc3370-68.iphmx.com ([216.71.155.168]:49366 "EHLO esa5.hc3370-68.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727118AbfLJL1X (ORCPT ); Tue, 10 Dec 2019 06:27:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1575977242; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=tUC4eA5Nyboawm85fT747hHsr0DL/gSfovcFMbk7+pE=; b=Yx7lpr0TmsveSmYLdoffvjZkQO5il2JxqvcZW22c+MAr56T+IpnxaN8t YMRSb+3rTZQXplzlgJE4dKOeYGSr2oipnUSLezbIxXy8H0ZCRMeWRSoUg 3wqpQsODTEv/NeETQHXPdwuyVGNcagpOxzDfc4DthVN7GRy/DwS3iOG5q 8=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@citrix.com; spf=Pass smtp.mailfrom=roger.pau@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: nXOcsY0Pt+xf/qTuGVWNFNsbaqaEwdl4FNa1UmNjQiZPJPNQ+9rjkuFmNla+vXxbcWAGKepql8 c8bHGkoYm2zn/1XwINWxljwPUkfL+VS17uRdYc+GRJJDNw5BD0TEpb1EllXJW74c2gUmL5EKqU MicjIW3cxXWeMEXgdy+Iytiez1hVGck06p7bWVqhxyDohPZ3eOn5aOKcAvr+04oC+A5PNj8KGX skek1oJ3rDyBq0Nlu6BVyQjB81FOyrztBfIM78TlTkcIAqQsjPBWV1RBPtGDl5jVWAZGTp+bHh qr8= X-SBRS: 2.7 X-MesageID: 9805719 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.69,299,1571716800"; d="scan'208";a="9805719" Date: Tue, 10 Dec 2019 12:27:14 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: =?iso-8859-1?Q?J=FCrgen_Gro=DF?= CC: Nathan Chancellor , Boris Ostrovsky , Konrad Rzeszutek Wilk , Jens Axboe , Stefano Stabellini , , , , Subject: Re: [PATCH] xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk Message-ID: <20191210112714.GH980@Air-de-Roger> References: <20191209201444.33243-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL03.citrite.net (10.69.22.127) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 08:15:22AM +0100, J?rgen Gro? wrote: > On 09.12.19 21:14, Nathan Chancellor wrote: > > 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? Thanks.