Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1032656ybv; Thu, 20 Feb 2020 11:49:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyAhqh1/OycEdtTwfyecqnixtJTBxKJjtdhIEDMI3E8bJVbGlFJ3CB//DKj6x7LKojD0kLc X-Received: by 2002:a9d:806:: with SMTP id 6mr23836301oty.90.1582228163214; Thu, 20 Feb 2020 11:49:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582228163; cv=none; d=google.com; s=arc-20160816; b=c2F8NggNKOLxipNDc6YFOAK6LIo2MFDc6i2wD6R5NCLkWOqxKV18TCB0X/0Km0PWy8 mtkFszKSABvFDh3DfjGX976I8wa0hFjvOfby2hX82LivPMfB6sQOJxGgKf+vP+39uu9w 2p5FPiOdNNBa1SDk2y4ivK0o9eOlv2IucOEi1acAcFv8e/ERHmcBwpSmV3cPQBmfblYU oP99NrCGn7frSZTMGGA1cafYI78B7nISB7juo6RvAMHDOz9Oyv/53pAmb19Wo081aPCH I+jlMWmnkoUo9vZ35JIiAq5GF3pPr7Dbb9mPpX8Cvm92Xd4lhp/jrblil+/FrIBWhNs2 OYyA== 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=jPFTRNw64J7Laq3myZUsp7zjb6I6nZ3YxdJBnUcsx0s=; b=lAAPlW0uzKuQ4l2QKiUNxzVmArY5ZMluuUuXyO/pbNd+0p/Md6DgkRBxhTd69/MCIp zHEN5WFDpNxioiUATZFpfErLkvRM2juku3LiDYze25InRVnOR5EuzT7nvIg8hBRioIn4 5RmHfYedOUEl/Ugp4kKtFh2W8JmRZfWMSkfAv/jioQKgwcL/ETpaUCYmqh+PKnbq0m4I 1saMibgRcLWwo3CuQOXDMksuOusd2sMgtQfHzjUJnSrtHky4zYOdNLTPb1apDW5C9Y2W dV45O1D/eY3qKEHQ64nWD7+VXoxXvkzCxsGvoGoe6lup06vTJWhT3LH/tJV87iVY4T0x TKmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b="M/m2sloD"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si143279oie.10.2020.02.20.11.49.10; Thu, 20 Feb 2020 11:49:23 -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=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b="M/m2sloD"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729007AbgBTTsc (ORCPT + 99 others); Thu, 20 Feb 2020 14:48:32 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33748 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbgBTTsb (ORCPT ); Thu, 20 Feb 2020 14:48:31 -0500 Received: by mail-pl1-f194.google.com with SMTP id ay11so1963443plb.0 for ; Thu, 20 Feb 2020 11:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=jPFTRNw64J7Laq3myZUsp7zjb6I6nZ3YxdJBnUcsx0s=; b=M/m2sloD0m2fBrqMgSVgf5kaZ22n01WNDxYaBnnuT59TWu7EYnXJD7AnA80/LH+oXM NPoXc5sl+b5FaVr00p+lMdOmRhk0jVcJsvXqhk/6y3j7dOnYrKJDDaGy6rFBHUAorKWy 3RIko9cDCWioC90dLHCXM6oycZbCsw8NsVkeWnIqWWZBJilj5xBg2QWep9YB7qFIVxH3 yRM/4tZMOo9SaoljDB497cCI3VMkxz/20TZxI4sA6ugBMQ7xFYkr1Ra028jUPgFoleKp 4JPXJorEeJMqe8SLChkqwmbz97xdKvjGF8CaukbtSYuUyhiUUCrlw/UnPZ5i03Zwhtbn 6VUg== 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=jPFTRNw64J7Laq3myZUsp7zjb6I6nZ3YxdJBnUcsx0s=; b=bLKk+1AV0h8GIBtMa2zjS39UjzRsxh15/l8Ts7VWvmyDqYSzai0Iykt/P/AT2xA9ga y0JO0oKI6i1sEfGjb5ERbyyaxnq5TZ5fMSkk/e9oQ3gA0xqBviyjciBZle2mMJcadwiD sqMaTqp6OLJpQq2qY9B6roj/pfs/oLSKZ6jnzIi6GPhITvSAWUy4k/tZN+itmRwZDFQ7 HNUjXi0USvtmp1i4r8SO2yIRuR1L+4HH9bGbU5Nj92Jt1eaUIiJeI8AWiakUhFpsJzas yiUKzRIyUjVtLwTriaQoXas7YfGZmemyfeFyw4MA5quWHpKTwR8soVJmrPm2LqmLJ8ni 5a3g== X-Gm-Message-State: APjAAAUPYx9CUT9gHa8FBHmU2Fvu54132hzI49/Oq2QPuxJzPLBo2sPw kEjQT/BjXC+Ylpxh8NTPiNbS+w== X-Received: by 2002:a17:902:b944:: with SMTP id h4mr31849359pls.92.1582228110226; Thu, 20 Feb 2020 11:48:30 -0800 (PST) Received: from kaaira-HP-Pavilion-Notebook ([103.37.201.175]) by smtp.gmail.com with ESMTPSA id 76sm391082pfx.97.2020.02.20.11.48.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Feb 2020 11:48:29 -0800 (PST) Date: Fri, 21 Feb 2020 01:18:20 +0530 From: Kaaira Gupta To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: octeon: add space around '+' and parentheses Message-ID: <20200220194820.GA13689@kaaira-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch.pl warnings of required spaces around '+' sign in multiple lines in octeon-stubs.h by adding spaces. Also add space before parentheses in the same file to fix checkpatch.pl warning. Signed-off-by: Kaaira Gupta --- drivers/staging/octeon/octeon-stubs.h | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h index 79213c045504..d2bd379b1fd9 100644 --- a/drivers/staging/octeon/octeon-stubs.h +++ b/drivers/staging/octeon/octeon-stubs.h @@ -11,7 +11,7 @@ #define octeon_has_feature(x) 0 #define octeon_get_clock_rate() 0 -#define CVMX_SYNCIOBDMA do { } while(0) +#define CVMX_SYNCIOBDMA do { } while (0) #define CVMX_HELPER_INPUT_TAG_TYPE 0 #define CVMX_HELPER_FIRST_MBUFF_SKIP 7 @@ -22,11 +22,11 @@ #define CVMX_FPA_PACKET_POOL_SIZE 16 #define CVMX_FPA_WQE_POOL (1) #define CVMX_FPA_WQE_POOL_SIZE 16 -#define CVMX_GMXX_RXX_ADR_CAM_EN(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CTL(a, b) ((a)+(b)) -#define CVMX_GMXX_PRTX_CFG(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_FRM_MAX(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_JABBER(a, b) ((a)+(b)) +#define CVMX_GMXX_RXX_ADR_CAM_EN(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CTL(a, b) ((a) + (b)) +#define CVMX_GMXX_PRTX_CFG(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_FRM_MAX(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_JABBER(a, b) ((a) + (b)) #define CVMX_IPD_CTL_STATUS 0 #define CVMX_PIP_FRM_LEN_CHKX(a) (a) #define CVMX_PIP_NUM_INPUT_PORTS 1 @@ -1410,18 +1410,18 @@ static inline void cvmx_pow_work_submit(struct cvmx_wqe *wqp, uint32_t tag, uint64_t qos, uint64_t grp) { } -#define CVMX_ASXX_RX_CLK_SETX(a, b) ((a)+(b)) -#define CVMX_ASXX_TX_CLK_SETX(a, b) ((a)+(b)) +#define CVMX_ASXX_RX_CLK_SETX(a, b) ((a) + (b)) +#define CVMX_ASXX_TX_CLK_SETX(a, b) ((a) + (b)) #define CVMX_CIU_TIMX(a) (a) -#define CVMX_GMXX_RXX_ADR_CAM0(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CAM1(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CAM2(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CAM3(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CAM4(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_ADR_CAM5(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_FRM_CTL(a, b) ((a)+(b)) -#define CVMX_GMXX_RXX_INT_REG(a, b) ((a)+(b)) -#define CVMX_GMXX_SMACX(a, b) ((a)+(b)) +#define CVMX_GMXX_RXX_ADR_CAM0(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CAM1(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CAM2(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CAM3(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CAM4(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_ADR_CAM5(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_FRM_CTL(a, b) ((a) + (b)) +#define CVMX_GMXX_RXX_INT_REG(a, b) ((a) + (b)) +#define CVMX_GMXX_SMACX(a, b) ((a) + (b)) #define CVMX_PIP_PRT_TAGX(a) (a) #define CVMX_POW_PP_GRP_MSKX(a) (a) #define CVMX_POW_WQ_INT_THRX(a) (a) -- 2.17.1