From patchwork Thu Jun 15 18:25:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Greer X-Patchwork-Id: 9789791 X-Patchwork-Delegate: sameo@linux.intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB19160325 for ; Thu, 15 Jun 2017 18:25:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D46C3284B0 for ; Thu, 15 Jun 2017 18:25:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C952F28620; Thu, 15 Jun 2017 18:25:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 54E01284B0 for ; Thu, 15 Jun 2017 18:25:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753213AbdFOSZi (ORCPT ); Thu, 15 Jun 2017 14:25:38 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43995 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201AbdFOSZb (ORCPT ); Thu, 15 Jun 2017 14:25:31 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7F9DA20A91; Thu, 15 Jun 2017 14:25:19 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 15 Jun 2017 14:25:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=animalcreek.com; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/LU Z5tMIxPgSwMDyjgAkJ80V9kyDayaSXA0/EXfhruo=; b=PCpKs4Zo5jLlKFNm0BM GW+byXYuta+KmLFoRUfFjnuoACaXnQJPM/BENSFOyKlKZ1DuE5Z7pH4+fhAs1JVp T/TPTipq4E3FjV5nCvaGzrLS/lxvfl7jmvoV3tvPQ72lg/UH/O09sMSug52BNsz0 vyANizTbIwzYjznqHU8xLGYQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=/LUZ5tMIxPgSwMDyjgAkJ80V9kyDayaSXA0/EXfhr uo=; b=qaoO2VDEciDdkjnpX/7CTHJMA3MpV3FhcJlhvb32MNHdsM+EcQtS0GFlY z19mN6A/bpVggupq7DApzGtWA4FmnUBXHkBQygocINp+0aYiUpKkSVqHvJN6FiAY o43ujfaSndgYZ5MzdiwyACHYM0QtThfdFFCxZ5Vpey21HzKf5vkeq8qpjOPnrKo5 iMkJGiLFUMfNFewS5QfGyJDVtxYJRA9DFvL85L9cICSyY50LtUkX5qN9vEO7uVkq TLrJm4xQzDfKsv+lMCdGs1XpUKE97I2IKHgKHdax2iHlkj5p6pJ41pbq4HHiBmZ9 xhoy+eYX/8gIhqJJ/ukgOrxku3uqQ== X-ME-Sender: X-Sasl-enc: GJkZ0U3qZBAFkcs01kMCVXTrjBHToFb0Ue7zboi8IvZT 1497551119 Received: from blue.animalcreek.com (ip68-2-81-12.ph.ph.cox.net [68.2.81.12]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A2CA7E993; Thu, 15 Jun 2017 14:25:19 -0400 (EDT) Received: from blue.animalcreek.com (localhost [127.0.0.1]) by blue.animalcreek.com (Postfix) with ESMTP id 0B43DA205A7; Thu, 15 Jun 2017 11:25:18 -0700 (MST) From: Mark Greer To: Samuel Ortiz Cc: linux-wireless@vger.kernel.org, linux-nfc@lists.01.org, Mark Greer Subject: [PATCH 14/23] nfctype5: Add space between 'if' and first '(' Date: Thu, 15 Jun 2017 11:25:07 -0700 Message-Id: <20170615182516.4508-15-mgreer@animalcreek.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170615182516.4508-1-mgreer@animalcreek.com> References: <20170615182516.4508-1-mgreer@animalcreek.com> Organization: Animal Creek Technologies, Inc. Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a space between the 'if' and first parenthesis in 'if' statements as no space is both annoying and contrary to neard coding style. Signed-off-by: Mark Greer --- plugins/nfctype5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/nfctype5.c b/plugins/nfctype5.c index 2fccec5..29e1d0c 100644 --- a/plugins/nfctype5.c +++ b/plugins/nfctype5.c @@ -456,7 +456,7 @@ static int t5_write_resp(uint8_t *resp, int length, void *data) goto out_done; /* CMD_FLAG_OPTION should be set for non ST tags */ - if(!(t5_manufacturer_stmicro(tag))) + if (!(t5_manufacturer_stmicro(tag))) t5_cmd->hdr.flags |= CMD_FLAG_OPTION; t5_cmd->blk_no = cookie->blk; @@ -515,7 +515,7 @@ static int t5_write(struct near_tag *tag, uint8_t offset, uint8_t *buf, * does not work with ST Type5 tags. * So, implemeting OPTION flag set only for non ST tags. */ - if(!(t5_manufacturer_stmicro(tag))) + if (!(t5_manufacturer_stmicro(tag))) t5_cmd->hdr.flags |= CMD_FLAG_OPTION; t5_cmd->blk_no = offset / blk_size; @@ -1046,7 +1046,7 @@ static int t5_format_read_multiple_blocks_resp(uint8_t *resp, int length, * lying in different sectors. So, doing multi block read * support setting only for non ST tags. */ - if(!(t5_manufacturer_stmicro(tag))) { + if (!(t5_manufacturer_stmicro(tag))) { if (read_multiple_supported) t5_cc.cc3 |= TYPE5_CC3_MBREAD_FLAG; }