Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp302141ybi; Fri, 24 May 2019 04:09:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDhqDnceEzHce3R7Ip5wJevezEiwR7BDWbUc9MOxSZkC6N3qz5VEWRL65jEZdv+zlPGdiM X-Received: by 2002:a62:bd0e:: with SMTP id a14mr92080748pff.44.1558696187336; Fri, 24 May 2019 04:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558696187; cv=none; d=google.com; s=arc-20160816; b=qYNEigAAzxu/tCih17Y4eNQHTfq5jByPZLRqX4nGrTa030+X6OGQ3/d+4c4/r0Oocm /wfCjY5IFYnRCx+8NgyytJPJ343EyroPHLrWOAkzvPxjJ01pn8AHQDCYZ1R8U+C4V3P+ aVWpG+yDukAbHo5dhrfZXbCYZgXITY47LL7L7wZmraoNZd2DXeZUPZh75WZZfimhSjXZ 3qsQwmDsBas7x13v3/vL7iUSuGIoXWh5JzeZ22PzGvCDGf3LukfFsm1OomFc+x9f7GFa y1+1IsER6yYjd1Wt/qL22hkiX9/IisacLqf9P+W3flfbTm5UP+vE7vhmAO5ap8SSlWLQ hRcQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=atMxjy9C7OQe8GpIdLJBQm8m+GFrGLxyYvK8iCvKAkM=; b=BfhxqCu+E7JIMN2rhCPAl70Vjz6WraF123FITVSl4Oa+kMerQwLPF4AzvZxfEAVkKH JlwhInYz1XqjgmEdFH9cg33lAfQbOa9WpQwXANIIGWyNDeEwQqBEmANZm09FwXhHB0P+ Y30FH1KUudc7SKNX1uUbl3d6fPIQFIIB1i1YI0oB+pUrZTDLsOABOD1FnHPrd9xDzfvj G7K29Y5Dmudk5Drt1VxPeAWOy0GdUSU1RU/+qVSUT6H7X2HjSOfW/SACyrkbOZ87z+oR hsUDBbZgFLp/+/pOn42OWUrnQOwjhjxTB0NFej/c8HpgX9Z0K0O+JiN5vgE/8ypk93vC V/aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b="L/bL+9Z8"; 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 a12si3740641pga.238.2019.05.24.04.09.31; Fri, 24 May 2019 04:09:47 -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=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b="L/bL+9Z8"; 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 S2390906AbfEXLIO (ORCPT + 99 others); Fri, 24 May 2019 07:08:14 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42861 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390714AbfEXLIM (ORCPT ); Fri, 24 May 2019 07:08:12 -0400 Received: by mail-lf1-f68.google.com with SMTP id y13so6805167lfh.9 for ; Fri, 24 May 2019 04:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikanor-nu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=atMxjy9C7OQe8GpIdLJBQm8m+GFrGLxyYvK8iCvKAkM=; b=L/bL+9Z8mZNNx+wl9m98wo7ZK+zr37ugLt5TV7nnKt6uGIBbJFF0/TeWU8Pp7SEjuQ B68D6NNM65F9KwR6tbKSIg4S1YTISVzWxrq08LMtuhu/pgSPeT0OeEoGSz0HoIXVxyaN /3G2RaHyeLjSSJcEnO4aly7WO7qEGHRlSi54cAWtxRcteau5BfyZnY3i7GPzNOFdTJfr tRncjpwajX6jtDBaQ2L63Tgf+f/4hOIX3NnkNIyho/H5KD9zwYegHW7cK2hO/fqRVSDR WcQYiVyhlHhHRyDEvz9Mcn8xN/F9Fm3JBRD4MFuPT2KMjEuoZpw4AY059zawd3WksfLV uryQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=atMxjy9C7OQe8GpIdLJBQm8m+GFrGLxyYvK8iCvKAkM=; b=FOs7EPP6gMbRC6gxz324AxT8NxUus49yL6oHobAZTL5We5ocpjeTvJs5+L2P7oKFgW EPdb0rSvdJoCrz77EVBfYx8QFmavaWOVh5Ulwk4CIjEfKBxcDFv2EVDwUZ4pcBJm5bY8 o8how2UMY/wXrKmy7v2ovviKNZVw5xUbT4d7SQcoYgh9712bA/v+CN0XtHCaJidVv+oh aNL9Uq12EZyHust+wxuFzBtpK8MRrB0pDL+Kq0dVUDTqKRIU1EBUf5hYujgBvNacf7Zb MzVSaOuY3Fu4PCYy5xdoGm3/tyZlMQFgHNyMfnu8m3awUqh9VX4BuGdjfqEkLoV+9pSa VDDw== X-Gm-Message-State: APjAAAXh3FCIeSedRPVal6kb+xy2KDOWoLGLZ+l3cYiwsO2SvJjKZs97 8yjeLJgtRIxoMjDuuxVPE526Pg== X-Received: by 2002:ac2:482a:: with SMTP id 10mr1204546lft.51.1558696090033; Fri, 24 May 2019 04:08:10 -0700 (PDT) Received: from dev.nikanor.nu (78-72-133-4-no161.tbcn.telia.com. [78.72.133.4]) by smtp.gmail.com with ESMTPSA id x21sm446234ljj.43.2019.05.24.04.08.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 04:08:09 -0700 (PDT) From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: jeremy@azazel.net, simon@nikanor.nu, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] staging: kpc2000: add spaces around operators in core.c Date: Fri, 24 May 2019 13:07:59 +0200 Message-Id: <20190524110802.2953-2-simon@nikanor.nu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190524110802.2953-1-simon@nikanor.nu> References: <20190524110802.2953-1-simon@nikanor.nu> 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 Fixes checkpatch.pl check "spaces preferred around that ". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/core.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c index 4110032d0cbb..b464973d12ad 100644 --- a/drivers/staging/kpc2000/kpc2000/core.c +++ b/drivers/staging/kpc2000/kpc2000/core.c @@ -276,18 +276,18 @@ static ssize_t kp2000_cdev_read(struct file *filp, char __user *buf, if (WARN(NULL == buf, "kp2000_cdev_read: buf is a NULL pointer!\n")) return -EINVAL; - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Card ID : 0x%08x\n", pcard->card_id); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Build Version : 0x%08x\n", pcard->build_version); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Build Date : 0x%08x\n", pcard->build_datestamp); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Build Time : 0x%08x\n", pcard->build_timestamp); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Core Table Offset : 0x%08x\n", pcard->core_table_offset); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Core Table Length : 0x%08x\n", pcard->core_table_length); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "Hardware Revision : 0x%08x\n", pcard->hardware_revision); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "SSID : 0x%016llx\n", pcard->ssid); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "DDNA : 0x%016llx\n", pcard->ddna); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "IRQ Mask : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_INTERRUPT_MASK)); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "IRQ Active : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_INTERRUPT_ACTIVE)); - cnt += scnprintf(buff+cnt, BUFF_CNT-cnt, "CPLD : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_CPLD_CONFIG)); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Card ID : 0x%08x\n", pcard->card_id); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Build Version : 0x%08x\n", pcard->build_version); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Build Date : 0x%08x\n", pcard->build_datestamp); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Build Time : 0x%08x\n", pcard->build_timestamp); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Core Table Offset : 0x%08x\n", pcard->core_table_offset); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Core Table Length : 0x%08x\n", pcard->core_table_length); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "Hardware Revision : 0x%08x\n", pcard->hardware_revision); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "SSID : 0x%016llx\n", pcard->ssid); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "DDNA : 0x%016llx\n", pcard->ddna); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "IRQ Mask : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_INTERRUPT_MASK)); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "IRQ Active : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_INTERRUPT_ACTIVE)); + cnt += scnprintf(buff + cnt, BUFF_CNT - cnt, "CPLD : 0x%016llx\n", readq(pcard->sysinfo_regs_base + REG_CPLD_CONFIG)); if (*f_pos >= cnt) return 0; -- 2.20.1