Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3144090ybl; Fri, 20 Dec 2019 04:40:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxOPIr9iHr/wQ2iQyrIevwZ8ltqAq2QwIVY3TZzsNvZv7fg80jXkjxAIoqyLcfVrJ6iq6Il X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr15094327otq.63.1576845659670; Fri, 20 Dec 2019 04:40:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576845659; cv=none; d=google.com; s=arc-20160816; b=l2dRlFwhqSwENlON0Yss8ZAKMb9oAMs7DHxw39UCotDKae2a5QTFCTyUPvuL4LQj1A VWy1NorDcUSKRVkPYUq5CjWrk5hUrdebkmIMOfwwOoRrAadOapyPDRVxMDHE7orh+Uzd pfTE0rW0d376AXBqstAKWPT7h96ua4BnqKAjW2JgSqxwU/z2PfOjf0IAGeHPagYsI4DG X0NEyiHAZTm0E9mGFpMRwZRb+BZ1AeobJ/gkmIqDl+Q9tluj4cMoD1457ygmCPBFExmR DoIY1EXbTv+ILzpymTOlbpBzZbcf5rC9y+wpnLOhY86IgQDqIJdh2PK22NYRhiMTiWQI NeUQ== 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=EEKAhjXaH+eNjmdq14FT1HWl3w1FsOXQjor8Vr2t+VU=; b=TZNq9N3EOVITeIRUARPP0peKeNdLr4c0MVtP6TdMiWQuVZ0u5TOoKuBdOtUYfM7mZ2 RHHuoyc7GLZ+xT2SmpIPg9rt7mZTVyqqvxajUm9zI2XFSVuPOfvjLpCMaLL5QTFZdIJH 9slEx/4zNIABnhUk3TARyB9wSLUJgsnqlGSx1qE8Age214UpDhr9s6EqJkSD0VGNemZI Af4UbUSZPqVbeT9cVdVL2tRHRdhyyIBuGc5rJNk0M2MQRtQsLqiXgyPpxL/GMQTq84XA OSRzgaNP0uRo5gQlTPUYBGzIXP8PWl2u4yJxO0ktuJJx3kwnXv5cY6eUpw6xgu1lLrGQ 3ODQ== 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 24si4555450oip.248.2019.12.20.04.40.47; Fri, 20 Dec 2019 04:40:59 -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 S1727412AbfLTMjg (ORCPT + 99 others); Fri, 20 Dec 2019 07:39:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:47296 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727317AbfLTMjg (ORCPT ); Fri, 20 Dec 2019 07:39:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B9110AE47; Fri, 20 Dec 2019 12:39:34 +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: Fri, 20 Dec 2019 13:39:34 +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 Pushed to xen/tip.git for-linus-5.5b Juergen