Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4725214ybi; Tue, 11 Jun 2019 11:22:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+gKgRT5SuhHAW+tIWxSo79CgWbykz1/ksy9/E7AqPAD0JymCVKRDt/wdMCjCM9GjRhwOT X-Received: by 2002:a17:90a:26e4:: with SMTP id m91mr28171992pje.93.1560277372569; Tue, 11 Jun 2019 11:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560277372; cv=none; d=google.com; s=arc-20160816; b=1HwpAKcCvG50MyGsZvEcOfAYGZsMukkS/oxaax46pM3TiA6vCSsUedqtZPZC70wNI5 wVLYgMJvONDpsfsyd0z+jsAFKYkCDQjAUrktSMQOynFH/x1qnp1VeK+O0VYunjQB5xx8 RjvCozIU4ScTZPsLYiTbP+UzW8tuh6y1FCTRugaUd+CtVuEZG3qPqp1q4A6SVlAq4HYl qp+Phxo8e7OA5oQrNfbjuGA56/tzmp0siP1AvKFPYFvXOsXoGSVygjADaNIb0I6rEvVy J/Rq4p6U/d4QtlrE0OjF0broGQsL60W497IpO2jvzHuO1G57+P9g8m5ziT8V5U6E6C8S /Qmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=w+GPyWgwq3wF+11wmpSdhR0x5M0TH4NOB3dASP/5Dsg=; b=uAg16fFRU3zt+DtgTq2b2FwzmBgDg4A5IW9Fpo/RuVvTvQzRpJzRndGHsRlqYsqle+ Y8abJ22/RviMqcJj++jWHT3ZhnAqDa1OqmE1pR42ibqdqFd4l8MUS1yHYH/2tk8Az7AD +A/IqTR1j+p/zpBPmqKoZ03QaW1A/cljax1HsZOcWQyBmL+C1uwZD5sCjSrpzrYo9Rt6 jnTaOnylL9BKSchp4BXWfEKDwq8i9/4hTbyehsQ/X+SvF2lDBST8SMRu1m0n55UfyxmN a9zH8KCMiMb1DNwzBHiO8myjpPmkWTey5+krV7tNjXGvc01rdkc3dg6/q5TrE2X41sA/ cZNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ikB+Tbsz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si14152619pfe.220.2019.06.11.11.22.37; Tue, 11 Jun 2019 11:22:52 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=ikB+Tbsz; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407023AbfFKSWM (ORCPT + 99 others); Tue, 11 Jun 2019 14:22:12 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:44113 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405802AbfFKSWM (ORCPT ); Tue, 11 Jun 2019 14:22:12 -0400 Received: by mail-pg1-f193.google.com with SMTP id n2so7408956pgp.11 for ; Tue, 11 Jun 2019 11:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=w+GPyWgwq3wF+11wmpSdhR0x5M0TH4NOB3dASP/5Dsg=; b=ikB+TbszFd5cHriyURqfCSWha/XGtBim8PTf54Xf8gjs96SRXBJMuvScmE9MFo0TU3 CF1B8EXexxNak9xh7uZCFX0KTgZZzfLqhIG5OG8X54q5b3xS4m7u8cv3ot1u/JG3vroW ytxSgcFcQOJ6p96vJvdTioonTYXFBoZ4kld0wI302Yj1kBL8xKosbID8ItSl0p1NRAcD 9l92MEmQ/E86J18Z8QE7IuwPlULVnonH+UvnCNRIamHzSX2bagxfuyvgEIid7LumCGG7 qKm9luewGU0cBfibDOoOuByxSO/GQvOqBX4U+R37QehV5DW93Y1mYv+zTWnfrPbmd/BL cURA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=w+GPyWgwq3wF+11wmpSdhR0x5M0TH4NOB3dASP/5Dsg=; b=ET5zfYGebb6MRrpZdj2o4nV56HT8UTc0MlRLgvFM4IFQBxEdPAUjZAQPXwvnbs0nId BlV2GrJrvY/UdppYOQb6fPYbc9RP/l2CBHDWC4rEhDiPNchABZjpI64G3ayM4KvoB647 /PfirrI1zh7jSrLvZA+Jh5vBkeI1U9xnpYTVKB4yWR4kIXq/61Z+NratGucy9KTIac+o z2DmZB7UyZlic1Ett8ifZAow9hNKL+wYWTqwB+P5un08clLpLDSYedlG1W7FtjdwyI1Y EDDBfeHoAprRDmxlTeB7GbKRYxtrZIfChcbqlZeui6cDc9kOEfJRvc2ok4CBWpXhyats 82yQ== X-Gm-Message-State: APjAAAU5ulZqcsKHvbV8oxwNlVlW+dcDz1SO2bZTagI4JBiyTCnBKs7y AO5kNSY+01bx5obwLqxup8A= X-Received: by 2002:a63:6948:: with SMTP id e69mr10629493pgc.441.1560277332016; Tue, 11 Jun 2019 11:22:12 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.89.153]) by smtp.gmail.com with ESMTPSA id e16sm2984256pga.11.2019.06.11.11.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 11:22:11 -0700 (PDT) Date: Tue, 11 Jun 2019 23:52:06 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Nishka Dasgupta , Arnd Bergmann , Madhumitha Prabakaran , Colin Ian King , Payal Kshirsagar , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] staging: rtl8723bs: hal: sdio_ops: fix spaces preferred around unary operator Message-ID: <20190611182206.GA7187@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl8723bs/hal/sdio_ops.c index baeffbb..ebd2ab8 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_ops.c +++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c @@ -214,7 +214,7 @@ static u32 sdio_read32(struct intf_hdl *intfhdl, u32 addr) ftaddr &= ~(u16)0x3; sd_read(intfhdl, ftaddr, 8, tmpbuf); - memcpy(&le_tmp, tmpbuf+shift, 4); + memcpy(&le_tmp, tmpbuf + shift, 4); val = le32_to_cpu(le_tmp); kfree(tmpbuf); @@ -261,7 +261,7 @@ static s32 sdio_readN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) err = sd_read(intfhdl, ftaddr, n, tmpbuf); if (!err) - memcpy(buf, tmpbuf+shift, cnt); + memcpy(buf, tmpbuf + shift, cnt); kfree(tmpbuf); } return err; @@ -366,7 +366,7 @@ static s32 sdio_writeN(struct intf_hdl *intfhdl, u32 addr, u32 cnt, u8 *buf) kfree(tmpbuf); return err; } - memcpy(tmpbuf+shift, buf, cnt); + memcpy(tmpbuf + shift, buf, cnt); err = sd_write(intfhdl, ftaddr, n, tmpbuf); kfree(tmpbuf); } @@ -727,8 +727,8 @@ static s32 ReadInterrupt8723BSdio(struct adapter *adapter, u32 *phisr) hisr = 0; while (hisr_len != 0) { hisr_len--; - val8 = SdioLocalCmd52Read1Byte(adapter, SDIO_REG_HISR+hisr_len); - hisr |= (val8 << (8*hisr_len)); + val8 = SdioLocalCmd52Read1Byte(adapter, SDIO_REG_HISR + hisr_len); + hisr |= (val8 << (8 * hisr_len)); } *phisr = hisr; @@ -952,7 +952,7 @@ static struct recv_buf *sd_recv_rxfifo(struct adapter *adapter, u32 size) recvbuf->pskb->dev = adapter->pnetdev; tmpaddr = (SIZE_PTR)recvbuf->pskb->data; - alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); + alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); } -- 2.7.4