Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp755259imm; Wed, 18 Jul 2018 10:05:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdie0+CXEEl3dGqnM7pwWuG/xgAkuV7+oSceS/LRHQe9RoHR5DqGc164k1QJ0dvqafxJW8i X-Received: by 2002:a62:4ece:: with SMTP id c197-v6mr6084476pfb.240.1531933511942; Wed, 18 Jul 2018 10:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531933511; cv=none; d=google.com; s=arc-20160816; b=hGBhBkvsBeA5Xc+gt89F78Ztjus6iamFUr27jDbAkL8gb/Mf8x2Fa01qSoozBnRNgw j0RvuuWCPFTF5706RlNfFIzfk2VMik3jWD+KbEh5X4II3iC/QF6IjUK+b+X3iTjd2f3K fNLzngL8M2181+T8kqVo7Z5M66g59U2TbDAfwQ8s05jhkoJiSQpJAX2FvhGQfhITexG6 wYmA6G+zRv3eSbBwG0edmwRul8rkIRQieELP5S4gothUx+ZBj5O02CyX8+9amFSADqYL /Mo/pxwbgvbQAKmUdJ0N4d4kMUkihl/ukdaelrP90wf7QQHuFcmW/i+Oy6v5KJ8YQwJH pG8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=0JQ3i/A6dCHftViqRb24/jwNh9q4x0+VqllIARCODCQ=; b=SNvax+v90zQx2LBYQcgNd64MnnSHrsQpmHPMXqWGGRZghVerxr32lfybocD5BJqSwN Y8F7aDgHMTlOeGEja5b3EWaoQsXyZItx546dZayCcWQ054e0CehxYrdYKH3AeyesMb+G m0KV67ju8DNQXr4RHOLzttxsQOaEAFbtIwje9L3mvdwEhNUUUTBv9czu1zcUkBkM9gL8 RULle0l4vkxR/iQirENMdrYIkN3AntDarEuvAepbosXgG6ftrNDIrdAoZiiVqwxJ/lgI /FfMDnY+nSE8pNiz33jbFNvHcNcp0/edDYZdusYwkjkCQFAFLReCG9vE+jtwcws3K8DU CYZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M3OlRbfi; 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 l81-v6si4269014pfa.368.2018.07.18.10.04.57; Wed, 18 Jul 2018 10:05:11 -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=M3OlRbfi; 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 S1731595AbeGRRnJ (ORCPT + 99 others); Wed, 18 Jul 2018 13:43:09 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39548 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731455AbeGRRnJ (ORCPT ); Wed, 18 Jul 2018 13:43:09 -0400 Received: by mail-pl0-f66.google.com with SMTP id p23-v6so2317138plo.6; Wed, 18 Jul 2018 10:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0JQ3i/A6dCHftViqRb24/jwNh9q4x0+VqllIARCODCQ=; b=M3OlRbfiKb7d5Zk4XzQLEttvWk1wNIYxvSXi3zdE5xxgHL2kBTNhr0nHQNI5WMNSfX Of/dOnuzDJNrOOSWpBqAVSmHlGSWQqYOUd7AljErWqXcEv5kVbrEvQUyBSoAWOLmzXoH IhUmE64+c9G/q0ijmFEUI+BJ2wrfTagCXMxH3KPtx78srl9S6oQ1lLjBh9uWMlnU/fsg uL17jkUgL7bI7vbkoDsDUmmxc/4oGP8J/98YQpLEnFEhESICcGQsJiSDp6YCC158cG1V UfCacQ3Xcr6m4YNrAcWi0FaZfcbL23rxy2Ka57zrCnEh+GhX63uaQNK6pNY9f14JUdgk 6clw== 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; bh=0JQ3i/A6dCHftViqRb24/jwNh9q4x0+VqllIARCODCQ=; b=ac71iWt5gYtUzc123Fyjr6XnIt/PaGquNS7yLimnG0q5fwlo6NmSjWsKDqibHqx45B hpS4PRK4xxVfWUfZZpImLANiWacNlZb8WeltmLGUjQ9phZHMCCrZ26z/ZdJUvRabdeCU n21GfPBVNe1srOl6015SYwjH79RB7gokcvUS0QDO+cQ3Tb4WKbWqVTWrbm7CNn2uAqpz /9GgsP6vbIHzwzSnRzxryngGipjMgI77yDJAS1g7X8Hjy6uVS2rc0jwvApkwj4IcsvOj S3D/NoClZd0zbi8U+0acFS5ujsBougOX/tqHDx6SPHwRUsk/jnSxQ3RLFC65CZwJfziO pg1A== X-Gm-Message-State: AOUpUlEIlHkFN1BqyElucDlfWTB8+tQBKcAc5ZH0lAqNz1yzvotgR657 Ob9Wlkfo+OGVlrw7Sv5bHOw= X-Received: by 2002:a17:902:b08a:: with SMTP id p10-v6mr6624355plr.217.1531933459768; Wed, 18 Jul 2018 10:04:19 -0700 (PDT) Received: from raghu-VirtualBox ([116.197.184.14]) by smtp.gmail.com with ESMTPSA id l85-v6sm11265190pfk.34.2018.07.18.10.04.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jul 2018 10:04:19 -0700 (PDT) From: RAGHU Halharvi To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@kernel.dk, RAGHU Halharvi Subject: [PATCH] pktcdvd:checkpatch:fix pointer declaration Date: Wed, 18 Jul 2018 21:28:55 +0530 Message-Id: <20180718155855.4949-1-raghuhack78@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Fix all pointer declaration which causes "ERROR: "foo* bar" should be "foo *bar"" Signed-off-by: RAGHU Halharvi --- drivers/block/pktcdvd.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 59fb66c0e064..50a574049144 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -104,7 +104,7 @@ static struct class *class_pktcdvd; /* /sys/class/pktcdvd */ static struct dentry *pkt_debugfs_root; /* /sys/kernel/debug/pktcdvd */ /* forward declaration */ -static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev); +static int pkt_setup_dev(dev_t dev, dev_t *pkt_dev); static int pkt_remove_dev(dev_t pkt_dev); static int pkt_seq_show(struct seq_file *m, void *p); @@ -116,10 +116,10 @@ static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) /* * create and register a pktcdvd kernel object. */ -static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd, - const char* name, - struct kobject* parent, - struct kobj_type* ktype) +static struct pktcdvd_kobj *pkt_kobj_create(struct pktcdvd_device *pd, + const char *name, + struct kobject *parent, + struct kobj_type *ktype) { struct pktcdvd_kobj *p; int error; @@ -246,7 +246,7 @@ static ssize_t kobj_pkt_show(struct kobject *kobj, return n; } -static void init_write_congestion_marks(int* lo, int* hi) +static void init_write_congestion_marks(int *lo, int *hi) { if (*hi > 0) { *hi = max(*hi, 500); @@ -2708,7 +2708,7 @@ static char *pktcdvd_devnode(struct gendisk *gd, umode_t *mode) /* * Set up mapping from pktcdvd device to CD-ROM device. */ -static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev) +static int pkt_setup_dev(dev_t dev, dev_t *pkt_dev) { int idx; int ret = -ENOMEM; -- 2.17.1