Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp689033imm; Wed, 18 Jul 2018 09:01:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd9ElIjpoXIp4uGq4zdVMLRTGKFHpbUJHz9DwRaLJNFHEj3+LGYPEuuFaMUJR5MV7T2mkdU X-Received: by 2002:a62:d693:: with SMTP id a19-v6mr5718729pfl.248.1531929719833; Wed, 18 Jul 2018 09:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531929719; cv=none; d=google.com; s=arc-20160816; b=WAP8KdIU67TaiZMMFjX+J1VcqMFxeKGHL7Vs8ilS5ZSntHwkV3WaJfExVxOzHElb+u TNom19KhV8tlQ1dWAh/7sUe6a4L4DGIMlrPA9IY02uTtOfPsB5nWEW6I4ptzP5Uc1d8M jReDBP9BhALBQAqCqqI6gULz7GXwSg1kyHHNu5K3EbG4EOx55kRttuN322L25wrnf9rx gFSzRvxbQnK5oxYpqdszcgnHNXahJDyziBZYoUqpL/xfDSjzyK3kS1qY4NK06QxSM3Tx BI5xcvtnvHoYcBrcx6ZZESc+7L/x0C9WbckwGAlf4mCIWaHotZo64sS6CZJ5Jw+HP5+i y/Cg== 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=1Yoek57KSFJtVkxJxOeciB/rQgVNF892Bwm1MkYCpn8=; b=cjfwQTXK+tOxHbvXO8kQNtU/ZRnxfmFJOySHiNBPD2YZGsJ8vItnaWgbjFfQpSypKR ZeHbx1qNoHbqmJs99wtiRMuxbv9VsM3sx990Xh7D3lMsDkKDVwc3jzjKAbI9eC2Jnc/N GRz4RGvIQJTrahC12RFslUcVN8Yj/JZzp1QfvipHL8rqjFgZhdtBTRtUBKDMCCbwrvdC iMQsrNDiRzLXRoli4CoWt6HXShnx2t+ebjOv1AnE+6n7UWp54soh0+oLpokY1MwGeEjR Xfqg3MhlxUM8eOwKJE9v6B+wPP+YoL+KjI6oBThMTReYYBnRKt7vl8FwU3+Ptbub7ZmX A14A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RLrlVLVk; 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 n34-v6si3562510pgm.28.2018.07.18.09.01.44; Wed, 18 Jul 2018 09:01:59 -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=RLrlVLVk; 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 S1731340AbeGRQjl (ORCPT + 99 others); Wed, 18 Jul 2018 12:39:41 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41086 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726402AbeGRQjk (ORCPT ); Wed, 18 Jul 2018 12:39:40 -0400 Received: by mail-pl0-f67.google.com with SMTP id w8-v6so2236651ply.8; Wed, 18 Jul 2018 09:01:07 -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=1Yoek57KSFJtVkxJxOeciB/rQgVNF892Bwm1MkYCpn8=; b=RLrlVLVkG4bGOCoVoUILcq21pCGbuZzX/2sL0bZ/eG52S12rga/0UvRSKdNOaFnVbk P92sBOEIsJnYZcK87HjLdywExw18qTesxS48zAryl93FxvRiWLZUvzp1wLzYyJmFiWu1 AK7odWxMKI89agsOVLDegACf9NiJYjCuNmcQAH2LdS49JaM/pIUy4FXlx3qXv3syLVax 44Pdfk0Sm+ZJzJBpMXTRMsAXdUyent0SDl5MuXWafNNnM8bKdNNTEX7V/x9tyQQDMdDN lu3q/bOtKiCWcEUGHeZx5VcEaSLOhgBYPx4Bj3JvRYfdBma4eBY58R1eWGY1yFGd3xQf E9Dw== 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=1Yoek57KSFJtVkxJxOeciB/rQgVNF892Bwm1MkYCpn8=; b=RO1tSuE/umiLEtbuhRiCvtZ+XSMKPx+wyauLMhfw8XNC//ONrjhE9tNUynTplhyQfZ wmO9288wRJRI65RKdzCjOKUU7344seFd5EzZtbY52yIuzNt/MhSy8uNxX7wfdMGHfM6e t35jWYg1fNf1Etv66KAKkWaiiyheO8LUEf173BbUSUvJfw9smKWxAe+9/Qfwh1tiwx6y lPkvewF8fUnHTDURHAGp+9o3cDy06oOBol9ApP4w7MX1E7w+e1hke8XQGBgfXAA/vdLA lbyixVoicA1uRmVZzroziHdp4BmT2ZYYww+qfqKjg0qsmXW0bnE4uIgjukrlsvYu/CAA Nspg== X-Gm-Message-State: AOUpUlGBDLKLre2EDTX504FU+c/GHTE64j5lmkqtFWqRll5cUYne3xwS aZoHg629P+NY/ZgBOqozvhc27GUX X-Received: by 2002:a17:902:bd44:: with SMTP id b4-v6mr6534470plx.144.1531929666952; Wed, 18 Jul 2018 09:01:06 -0700 (PDT) Received: from raghu-VirtualBox ([116.197.184.14]) by smtp.gmail.com with ESMTPSA id t21-v6sm5533977pfh.45.2018.07.18.09.01.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jul 2018 09:01:05 -0700 (PDT) From: RAGHU Halharvi To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: RAGHU Halharvi , axboe@kernel.dk Subject: [PATCH] pktcdvd:checkpatch:remove static initialise null Date: Wed, 18 Jul 2018 20:25:50 +0530 Message-Id: <20180718145550.3894-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 * Remove checkpatch error due to initialization of static variables to NULL Signed-off-by: RAGHU Halharvi --- drivers/block/pktcdvd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index a4b4d524c3af..a7dbb7157115 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -100,8 +100,8 @@ static struct mutex ctl_mutex; /* Serialize open/close/setup/teardown */ static mempool_t psd_pool; static struct bio_set pkt_bio_set; -static struct class *class_pktcdvd = NULL; /* /sys/class/pktcdvd */ -static struct dentry *pkt_debugfs_root = NULL; /* /sys/kernel/debug/pktcdvd */ +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); -- 2.17.1