Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp302260ybi; Fri, 24 May 2019 04:09:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBM4Kwz9GbTqu0Z+iTGQeFLi1bpk1uvNuX/ntnEb3Q2zEzm7tLbrCLuBuVP/nis1sBPMed X-Received: by 2002:a62:3381:: with SMTP id z123mr113258040pfz.42.1558696193944; Fri, 24 May 2019 04:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558696193; cv=none; d=google.com; s=arc-20160816; b=OWnFY/GX67ZnbnfuUlfvqRnuLrl+qCWLx+h0PMDXFypk7EO7UE6a6dRSR59CMxhjvg fQpc/D3D28dUMhq9yVinLDmuLkD2Lb72qUYJhLW5e4Lv+PHvOtFL2w5Uobf5dFo4dAOT V/hKYDrjannpIjO7Cxg+CxNodQ/ZL2DZk+0kSQ0x03cq01nT9FtVZfOaXD8SGEBCWxaP d1mnLR/x0/rcbiHC8Lwzfzev+0Fr5mXqXVtkxvWfXxOPcF1SkuimC+jJfljgEubzH9Iw oXmE644rXCdgdfXl/NsZQnJAn/zbqtBv8ELsNJqBqGFkYyMcACQkzl+TeePdawBRueqo Xq/A== 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=8BrNHORCd/DxvHapwA+VYnwfAJG4jUky2f2ZEQG38ko=; b=Sv0qt9SL5QGsc7RjRKXsqkqdtMjQE2vGNmFqUM3OZKYZ3vJ+xQOZ7m2o1RFD0TXUh5 pwCjnJXTp0dHYlFjw30mfvBJB+v9rcwYi3JdG7UzKEcPm29gziHV4XB2DQLYjxvfNh7N qHVInO6cq8oSk3nZzj+Q3yodLNSYaXdyrv8J22Td5YQ8AhpIB9ERCUKPN+/CId1UrrL2 3RwF9ZBe5quzlxpNqcB4fKtaDblsFqeebMAl4ICpVM77jBq0unE4ImVtO5+OlulSqsyr Nb9X1lJ70AJl/wBzhpBEQraHUJ+JrR5F+5fIrQTt42BFqQrltpVC0xVj/R+VNh5ZqOaF 8HSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=UKvbwE9k; 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 s207si3394117pfs.119.2019.05.24.04.09.37; Fri, 24 May 2019 04:09:53 -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=UKvbwE9k; 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 S2390935AbfEXLIT (ORCPT + 99 others); Fri, 24 May 2019 07:08:19 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42266 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390819AbfEXLIO (ORCPT ); Fri, 24 May 2019 07:08:14 -0400 Received: by mail-lj1-f194.google.com with SMTP id 188so8272646ljf.9 for ; Fri, 24 May 2019 04:08:12 -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=8BrNHORCd/DxvHapwA+VYnwfAJG4jUky2f2ZEQG38ko=; b=UKvbwE9kCp1HUEQTbws9yp/ghVEvXHBxX1y0F1mIrRD5nq3qdJeFGlU9L68XEwET9P 8xFU/86adUUBycbF8UadcPfCWOKgILWKlrSqOd4tPvaspIACy2oZv39q5oip7ykFGw7A SWba1i93yBWZk8WheaSFX1Ob30bDxdGw7XezhYohapdWIDylLY1474zHsALWYGRliM1z fV3Wsod9hqyVqqY+94R/VGAt46fhATrfHU2WigSMV9QGbdSovw0YeDs8JhUKul7Ut4TF uuL1dmHrS6FiB16COb9BnXLhgIs7TWxbKxwoGGzc1n9lO0nbxdYQfvT2OSyM803LjK2e d6IQ== 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=8BrNHORCd/DxvHapwA+VYnwfAJG4jUky2f2ZEQG38ko=; b=SmLtf9M5p+68/fShYddXftTcRRHIe61DAWcKwCieHqmGS7zb9HkXpjIEOzL7zJy0Qc l4GsFwXHmDteZuknbKXFr/hExLDSboxZdkj4rgELeZQc6TNwhtLQAUvafQb+U+HXark+ Ud+6f3wiFX5LFoNe0q6J8QHuYgnq03nBoW9zH3lgOvvlouck+bjSjUcxR/TivJgrV+xZ TiR2Bc/VS+ZTuI8/5+VLIErIB84u7z+EPI0Qf4Wni+t2gwTFAGikBU9En+HTiWsj6fze uLr3WWtGFokpABbEk0K1y9xEqVBxAe9AHYzhFnorIEAs/E+EWSKoINcp8zLiQP4/dyCx 0w+g== X-Gm-Message-State: APjAAAX//7b69QHvKxwpU+P4N86/6tVxh/q5lioao1oLRCBm8tubIryj nbh3our0+gQ+l6G5SnEuwiykTA== X-Received: by 2002:a2e:301a:: with SMTP id w26mr38744971ljw.153.1558696092014; Fri, 24 May 2019 04:08:12 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 04:08:11 -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 3/4] staging: kpc2000: add missing spaces in core.c Date: Fri, 24 May 2019 13:08:01 +0200 Message-Id: <20190524110802.2953-4-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 errors "space required before the open brace '{'" and "(foo*)" should be "(foo *)". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c index 40f65f96986b..bb3b427a72b1 100644 --- a/drivers/staging/kpc2000/kpc2000/core.c +++ b/drivers/staging/kpc2000/kpc2000/core.c @@ -308,7 +308,7 @@ static long kp2000_cdev_ioctl(struct file *filp, unsigned int ioctl_num, dev_dbg(&pcard->pdev->dev, "kp2000_cdev_ioctl(filp = [%p], ioctl_num = 0x%08x, ioctl_param = 0x%016lx) pcard = [%p]\n", filp, ioctl_num, ioctl_param, pcard); - switch (ioctl_num){ + switch (ioctl_num) { case KP2000_IOCTL_GET_CPLD_REG: return readq(pcard->sysinfo_regs_base + REG_CPLD_CONFIG); case KP2000_IOCTL_GET_PCIE_ERROR_REG: return readq(pcard->sysinfo_regs_base + REG_PCIE_ERROR_COUNT); @@ -326,7 +326,7 @@ static long kp2000_cdev_ioctl(struct file *filp, unsigned int ioctl_num, temp.ddna = pcard->ddna; temp.cpld_reg = readq(pcard->sysinfo_regs_base + REG_CPLD_CONFIG); - ret = copy_to_user((void*)ioctl_param, (void*)&temp, sizeof(temp)); + ret = copy_to_user((void *)ioctl_param, (void *)&temp, sizeof(temp)); if (ret) return -EFAULT; -- 2.20.1