Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5069823ybl; Mon, 9 Dec 2019 23:17:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwArDafN1giNzHHb6OmGxz3JtgT7gufBn2ea57135jOdbsaWGZDPJDdqxQG2GG9NFZQZJTj X-Received: by 2002:aca:4fcd:: with SMTP id d196mr2835177oib.89.1575962250530; Mon, 09 Dec 2019 23:17:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575962250; cv=none; d=google.com; s=arc-20160816; b=VF+hRAcCoCmoSVa8ppZSgSx47D9Cx+2dBu92w3eVSpudkqk986JJAZsbuUvzoMBsNX 94X/Cw4dBUdH3EbrKZuXuwBlFRKAARQKRotz+wwal+ay5hJbiCc1WUjMYpMztElKeH1j 9jS0bA0NypKDNEXN0Y0WJM3ghmGyoCxSSq/uL0j4PD57eCuSt/WpFnnwtwCcLNNd9A5p 6o3AeH4Jo9ZF05raj063wkm6BHBMuHc96btvpjIFuMcHGrAtR0LgqKGk2KX+qVhlFbHu cU3IRgXy6kHc1mdX9E68aTX5LLjofYFjGmVMt5VnjBauKhAO+q4xI0zFVuB5ZdxEmBL/ He6A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=0R3KaMjKwhxSbmovr28pJ/aPLoJUn83PCNuAkV2Qh8A=; b=t1ONwceyANZ4qegdv69iwjkvUFAxi9Ax5HQh52cWjFMHSjsq7IIeM30Jit3YLBJRvg RUGMZKEY1Xh+YIBAODZzuM05PX7xWWt91ZPDgbf3WdLU3cvFT4RpB39u4ZEHHT2Q8xGb 17pzEqYu7QXV6WZ9r7jOpSDSz2ikxZ5VwN7top2jHxDI+dacTYrNO9+L6EzF0U6mijC1 dalQtIoHDXDO2CZXjoC2OWHJ+j3HgoU+w085IW0/8b21SQw4KWjnxWdzv6xZT8y8dm1N EeICGPZHk3qhYJ/iTKqIDRxwTCAuUhnpeuArgAc4oNrfOGORYUKAAmgrfnq3rcP1yFgx MggQ== ARC-Authentication-Results: i=1; mx.google.com; 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 g200si1409556oib.273.2019.12.09.23.17.17; Mon, 09 Dec 2019 23:17:30 -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; 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 S1727307AbfLJHPZ (ORCPT + 99 others); Tue, 10 Dec 2019 02:15:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:49468 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727137AbfLJHPZ (ORCPT ); Tue, 10 Dec 2019 02:15:25 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 66DA6AC9A; Tue, 10 Dec 2019 07:15:23 +0000 (UTC) Subject: Re: [PATCH] xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk To: Nathan Chancellor , Boris Ostrovsky , Konrad Rzeszutek Wilk , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Jens Axboe Cc: Stefano Stabellini , xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com References: <20191209201444.33243-1-natechancellor@gmail.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Tue, 10 Dec 2019 08:15:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191209201444.33243-1-natechancellor@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Juergen