From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E310C33CAF for ; Thu, 16 Jan 2020 23:21:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2B26206D9 for ; Thu, 16 Jan 2020 23:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579216882; bh=2kKG/27VuOVK4lQ4VGSOkWD7HQ57Q6d5cJDxLBh9vbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=d019TjK1CZn16YOQHxm4vzV8Fa5zH6J733+NqrIqcQGKl1uSz5sz10GvFICxKIsGt xSOdi+koezGEmXU9zkxTVwQIjqPxjuoSiH6A6Mm7nRnQ4elOgANmWIOcDKRPdb5Ngt dnhCpaUKOF+DTHkvTDzmnfsub0pkOuX5XPTJiT5A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387921AbgAPXVU (ORCPT ); Thu, 16 Jan 2020 18:21:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:48238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389910AbgAPXVN (ORCPT ); Thu, 16 Jan 2020 18:21:13 -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 1ED3E2072B; Thu, 16 Jan 2020 23:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579216872; bh=2kKG/27VuOVK4lQ4VGSOkWD7HQ57Q6d5cJDxLBh9vbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=inBZddWSC84YgxejRSaF/xm5sT8yjlQaAwjuhZ1R4GHfdMsfwXbLOK7tITemQPVm2 DjC+By6dQuusW0AJtE8HYjDdL1FZaNag6J4yXuO0h9VvMr56uDfIMueyPfdbqgz0p2 uOg5SwPp9R93/fVwJvSpHca6y/EMx5YECCzzqbDY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , Steve French Subject: [PATCH 5.4 038/203] cifs: Adjust indentation in smb2_open_file Date: Fri, 17 Jan 2020 00:15:55 +0100 Message-Id: <20200116231747.421371600@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@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 7935799e041ae10d380d04ea23868240f082bd11 upstream. Clang warns: ../fs/cifs/smb2file.c:70:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (oparms->tcon->use_resilient) { ^ ../fs/cifs/smb2file.c:66:2: note: previous statement is here if (rc) ^ 1 warning generated. This warning occurs because there is a space after the tab on this line. Remove it so that the indentation is consistent with the Linux kernel coding style and clang no longer warns. Fixes: 592fafe644bf ("Add resilienthandles mount parm") Link: https://github.com/ClangBuiltLinux/linux/issues/826 Signed-off-by: Nathan Chancellor Signed-off-by: Steve French Signed-off-by: Greg Kroah-Hartman --- fs/cifs/smb2file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/cifs/smb2file.c +++ b/fs/cifs/smb2file.c @@ -67,7 +67,7 @@ smb2_open_file(const unsigned int xid, s goto out; - if (oparms->tcon->use_resilient) { + if (oparms->tcon->use_resilient) { /* default timeout is 0, servers pick default (120 seconds) */ nr_ioctl_req.Timeout = cpu_to_le32(oparms->tcon->handle_timeout);