Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3699481ybv; Mon, 10 Feb 2020 04:57:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwLKbuiIkYFoZeKWyK6ZuBY8c7eYw9hM7SDATfLSnqbAtn6VIDn0JyWODDYlFtF1Axd83ta X-Received: by 2002:a54:4e8d:: with SMTP id c13mr722807oiy.27.1581339449830; Mon, 10 Feb 2020 04:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581339449; cv=none; d=google.com; s=arc-20160816; b=rFZyjaTxh6OIU3XTcbagmJxBjtQIraHCtCUkrVU3FGPBdtif6Sz4F+i9q7KltI6lYq N69DrDDkMrjFhgFCXoUmPdtesETu8tffHCnvVexsqYbpiL0dZ4Os+/U1kA48Uui48QEK 9Dkn73fg2UW7WjgeZMf6Tdr7PZFNDdg9qlOTrVzu46SMPSlVNPtDSp4oyQgHqAOOPtky FLUCwVANu88ExJvLeF0dBnSBaKh0vyaTXfZyFv2gtsrNWoXH7KAa2mwkGkbBamtO6ndN p2xQ87ZGpsed8xqUJtYCC5SZ/gFfPKQTTneZ2hQZwzAxsC+CSbmfbq2UBVuv7p6hRaNK pFRg== 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=38WHozT9vTrGsOCcF6+Hjj9f/LtoaD3KTsNSQlhfFmQ=; b=o9QSxg1VDrsJnZQe36WWfeFiso7rLQfgEvQIvK+B/h7RJZceiCvX1cr1YvkshToHGb aJ556y7qCzuqjAQ1+F4+2+DtCy3nj/fzp+PJaAsiQgoVovZNOqmcoTohPjCL7ZoI/JYj kNyj99GlcASL/OeIz3O7icT2cNcZ18TCqSuIkaAdaIW93JVHaTrkmser8ig1j8NHfxgS KRLpuCVJzbTsYSa/SoJGxNtCJAVf8P5Hqw9POlzAfdDWsTNyCX8jPilYd1A+Xa+inJdh hdwXSQKkwl2nTTFHIfu5e9VQpkSmYnvOSfuWiXfsVU7elqp3djabusPAfF12y3QOwxWm tgSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0NuvRAUX; 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 s129si124160oig.177.2020.02.10.04.57.17; Mon, 10 Feb 2020 04:57:29 -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=0NuvRAUX; 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 S1730117AbgBJM4R (ORCPT + 99 others); Mon, 10 Feb 2020 07:56:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:44324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730050AbgBJMlm (ORCPT ); Mon, 10 Feb 2020 07:41:42 -0500 Received: from localhost (unknown [209.37.97.194]) (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 9CC8D2051A; Mon, 10 Feb 2020 12:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338501; bh=+vlZxH7/7WspdQ5tkO7amYkhKFFU+mFcdbP1wpj3Nhk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0NuvRAUXBBbUI4a2nFIUixQOXT+hjGp6oCv9PybzPYxQGvG0YgXB06nP8CzeVDXGN bT84O1dAE6g5nehwmTmyOaTAyhRXjhtVjP16nMHckC++eG0zm0qxEJOgaO3aBATaRB HYXWmuD2VAUvwiD+j1oCaN8JVuHd068WpDAXLyfM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , "David S. Miller" Subject: [PATCH 5.5 290/367] NFC: pn544: Adjust indentation in pn544_hci_check_presence Date: Mon, 10 Feb 2020 04:33:23 -0800 Message-Id: <20200210122450.588354980@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122423.695146547@linuxfoundation.org> References: <20200210122423.695146547@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 5080832627b65e3772a35d1dced68c64e2b24442 upstream. Clang warns ../drivers/nfc/pn544/pn544.c:696:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] return nfc_hci_send_cmd(hdev, NFC_HCI_RF_READER_A_GATE, ^ ../drivers/nfc/pn544/pn544.c:692:3: note: previous statement is here if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && ^ 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: da052850b911 ("NFC: Add pn544 presence check for different targets") Link: https://github.com/ClangBuiltLinux/linux/issues/814 Signed-off-by: Nathan Chancellor Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/nfc/pn544/pn544.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/nfc/pn544/pn544.c +++ b/drivers/nfc/pn544/pn544.c @@ -693,7 +693,7 @@ static int pn544_hci_check_presence(stru target->nfcid1_len != 10) return -EOPNOTSUPP; - return nfc_hci_send_cmd(hdev, NFC_HCI_RF_READER_A_GATE, + return nfc_hci_send_cmd(hdev, NFC_HCI_RF_READER_A_GATE, PN544_RF_READER_CMD_ACTIVATE_NEXT, target->nfcid1, target->nfcid1_len, NULL); } else if (target->supported_protocols & (NFC_PROTO_JEWEL_MASK |