Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3395604ybd; Tue, 25 Jun 2019 01:42:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqym9RPp8miWn+ACGq2MVtUPXqADhWz9SIyTrUn/vu4ufbfgIs9lQhIKTi1TBROD5rMGOtLX X-Received: by 2002:a17:902:4e25:: with SMTP id f34mr11882245ple.305.1561452156358; Tue, 25 Jun 2019 01:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561452156; cv=none; d=google.com; s=arc-20160816; b=n3SoAeZm+yHk9gYJnaNrz0vNBFf8panYg4OWjcbZ8PEFKfe6NYGr62S4KXb70SRRhs WahSwjTbE+JKin4fmOMxDH+ThmiTnxyPwtmpds5QGO6jOdaqICp8ZK/cNUJcKwcTOY9t 1kIDce8904VMk7Eiv/p9OR6klnWYItjlwllisPSUPc6Toaph8BM5Ge9kz8C8o55XJsjq 9prxHMO9FDEs6BemPJRIqU9AmMp/xsv+aaQyaSwtw5BYqy4SpTEvJ9MTEpO9IqnGEqhh /Z7BdnOw/UEG09fY4guNUnpXfVKh120xB8Xrw4nG7ORl2KDa3lGu2JxMs+t2bA5O7Sns 3ltw== 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=weUglzTtIq4sAlt0j1mvPYtNfW0fP+4XOBaGGUaVvYI=; b=Jvy3tG+jwegQpsQHheJXqUumOp1wCG0mVPXp4x7RngLrhUYjP8fOADM/4L4TjNWSht rNxWqJx/uFUNSvdyEfoKxbEFbGbOVgWHsLGwsEc3N3L9JDzh94zbyXKuTvTBHukRUe2W 4K87XLPph+CjgPuAwsHk+AUhV8lLD7yNJDIQByfhJxkRYLCaiWjpBoIaRIGSz7KRzuG6 5BdZPXLZFEeHzUgENWa2vct8awE6HZJQrvSzEIpcDBLf4K42JsX36As6gdi7UABzULU9 VAaJIdMOh56hy7xRDPDxVDkoiTVeOIBQLS9lpbVdtzoyyqGfS3jBHVf0caRGGmyjtanj OrWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=cKzjRJU3; 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 v3si1216513pgb.234.2019.06.25.01.42.20; Tue, 25 Jun 2019 01:42:36 -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=cKzjRJU3; 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 S1730886AbfFYIlw (ORCPT + 99 others); Tue, 25 Jun 2019 04:41:52 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:40701 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730782AbfFYIlh (ORCPT ); Tue, 25 Jun 2019 04:41:37 -0400 Received: by mail-lj1-f195.google.com with SMTP id a21so15364801ljh.7 for ; Tue, 25 Jun 2019 01:41:36 -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=weUglzTtIq4sAlt0j1mvPYtNfW0fP+4XOBaGGUaVvYI=; b=cKzjRJU3W6eX2V54ZSciulywf3c73hUnd9N3wXCg9BINskPrwtkJ63YSFwVvBrbuC1 CGZOBLEAFdw00YNYIlLdmbhr2QHxDB5USG2qSsv+R8mnU/m8IvGFNDqoRUAgcQ57i+M3 DafM2JkjdQs6zUlzBC/nZg/coUZ/brAyrNE2eqiFzGsuV13ziA4yMJ/CvMZI0tXe6fG9 TOMM3YPHIIzFRB0V/tyvXcSju3NVoggCF2Bfb5HgQ+u3hbrLlfU0OpyrckhMTFAF7tM3 vuTMTduCUjmtV9Zw52AjR8CkDnmAsOJMKRovKM69dRwqh8BvzsJ46rZF6XrDihrSxyu+ DyzA== 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=weUglzTtIq4sAlt0j1mvPYtNfW0fP+4XOBaGGUaVvYI=; b=GeFdvdZmCm0cEGU7MrYdWadHlwOaMtkYoL9B1QErTfsG0r5RLWsf7ChC891Xy0BsQR uckLIwiH2HdNpGxvxuLEVAoNJzgk/8FcdgoN5D/D1PSX7WOZY68A2z/ZivfTTX9xCIuI ZZngJgwOTKWnE9Rg2OFWB/bDvjDGdLw0VlLilIGvPMGbV+tzD0M5Gy7fAR5XXzDUy5aS btNB997r5YueOp8SEbXy/GuR2SjywiFkIgutDXdSIFRTyGBgx76M6ZmDeIV/MYQrq1HQ 8MPdciGuyCzHE/D1x1rl7ObkzC+xCXjrW2IiQGtnnPVpOcz0lrGP0PjJjN8TDfCNTMzG S2Vg== X-Gm-Message-State: APjAAAUifNMmhabGy+zKQgCQUSKsxSMpPYasBFfROKUxsZNxJr6PUitw a+SCARZ8qq/aZMQPwO/h6kZiituUfcg0KA== X-Received: by 2002:a2e:5d1:: with SMTP id 200mr65784559ljf.10.1561452095398; Tue, 25 Jun 2019 01:41:35 -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 h78sm341564ljf.88.2019.06.25.01.41.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 01:41:34 -0700 (PDT) From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: gneukum1@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Simon=20Sandstr=C3=B6m?= Subject: [PATCH 1/4] staging: kpc2000: add missing spaces in kpc2000_i2c.c Date: Tue, 25 Jun 2019 10:41:27 +0200 Message-Id: <20190625084130.1107-2-simon@nikanor.nu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190625084130.1107-1-simon@nikanor.nu> References: <20190625084130.1107-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 "CHECK: spaces preferred around that '+' (ctx:VxV)". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index 69e8773c1ef8..3e08df9f205d 100644 --- a/drivers/staging/kpc2000/kpc2000_i2c.c +++ b/drivers/staging/kpc2000/kpc2000_i2c.c @@ -257,7 +257,7 @@ static int i801_block_transaction_by_block(struct i2c_device *priv, union i2c_sm len = data->block[0]; outb_p(len, SMBHSTDAT0(priv)); for (i = 0; i < len; i++) - outb_p(data->block[i+1], SMBBLKDAT(priv)); + outb_p(data->block[i + 1], SMBBLKDAT(priv)); } status = i801_transaction(priv, I801_BLOCK_DATA | ENABLE_INT9 | I801_PEC_EN * hwpec); @@ -337,8 +337,8 @@ static int i801_block_transaction_byte_by_byte(struct i2c_device *priv, union i2 /* Retrieve/store value in SMBBLKDAT */ if (read_write == I2C_SMBUS_READ) data->block[i] = inb_p(SMBBLKDAT(priv)); - if (read_write == I2C_SMBUS_WRITE && i+1 <= len) - outb_p(data->block[i+1], SMBBLKDAT(priv)); + if (read_write == I2C_SMBUS_WRITE && i + 1 <= len) + outb_p(data->block[i + 1], SMBBLKDAT(priv)); /* signals SMBBLKDAT ready */ outb_p(SMBHSTSTS_BYTE_DONE | SMBHSTSTS_INTR, SMBHSTSTS(priv)); } -- 2.20.1