Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp30239imm; Tue, 17 Jul 2018 13:19:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctCGWV46ePd766GZnSuVPExGdAjJB6Xwg8ZA9NwSfSvrNpNEgCwUDTkB2RcmkmHIT8RMqd X-Received: by 2002:a62:3c4f:: with SMTP id j76-v6mr2164206pfa.119.1531858767855; Tue, 17 Jul 2018 13:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531858767; cv=none; d=google.com; s=arc-20160816; b=u/nJwEF0QUZ46Rn0Yut3uULRIYEaZ1u+6+qFq7mjZ2T0H+Hpl+bv5ryzUFrfoMXe1c Vf9E0T6wRqxZUUS87b79SJli5E+22Hd7+t1w/DBoWSfQ+P/VXyQrrJPQiq80xPe9Ym8I jugdmb5TGZwLQlWINXmNd2QizV1aE2sBIX2IbVUQ7Pwer6AeG7H6nwrUFswuvwr3M1ge F+lZK4GlHsPmm6S7qLQ1yk9mwtDsFy+r+yDDWrJI3tSOVpQlb9vKvpK/7II/4XDSRI7T 6YIdlusgu9EIxue031IzoNGcqx8LWWR4diMP/yhDpe6DkwwBM+/ahR+KnaPjaVZ718+s h7Ww== 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=n+tcrvSsv/jVLy4bZUNeVQU1Cz003tWDNHPuu4thCZg=; b=qFqN/UdV4tPucbLeGkR71zAnHzjJfsrcS03lXktXsOFjtFB0mE5akyUSdh9MuhB2ZU iTkMPBjdM1y5dfOHcd0MEriPvQ6avaas9xUmosBGjT0JT3J/QabBk+/qp33+n6C68Hsg rJD/n9ATZqL2V05+3E9e5wIubbUWvqE0wkUxzQNEu/R32XL6zEqYSv0QsDq0meAvn1++ O8xSI2JneO/3VMIhFuydN7uUf9R/Yk456Gc4jQuhdU/x6xrd2FTuDK/PB3Gbk4nlagYf Q8tLiW9NduX8OZ5ZSlfz7T0zRKcaaicNAG3JzPA6fMlT9kTDZwyPJWE++8vWPo3oNqn7 tBEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YbCjlvCx; 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 u1-v6si1556347pgp.18.2018.07.17.13.19.12; Tue, 17 Jul 2018 13:19:27 -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=YbCjlvCx; 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 S1730249AbeGQUwr (ORCPT + 99 others); Tue, 17 Jul 2018 16:52:47 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:33365 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729704AbeGQUwq (ORCPT ); Tue, 17 Jul 2018 16:52:46 -0400 Received: by mail-pl0-f68.google.com with SMTP id 6-v6so953516plb.0; Tue, 17 Jul 2018 13:18:30 -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=n+tcrvSsv/jVLy4bZUNeVQU1Cz003tWDNHPuu4thCZg=; b=YbCjlvCxb+zdI4e26SgvHLhEkRyVz8NNjjFVHoSVs/AVlA2ozAb3R7ymBTy7zKoVDq W+iVyixizJtv1sMYuMY5mDJU6l2PP/+1azGl+RhSfXhQKi4wRGRhmkl770lmqBDNvQqE 5vqEtrshM3FBrduhmtg30Pu3yw9dIX9LJ5X4zOy5ISRAIBzqMv5D8mFCXeiU8a2ckp0k 2kRNSebOpae91BhP1GrC31ZkvuKNUny7DEj0PklpYICibXK81OW/0dV/M+i7iONfUCpb 1KZ/BbBV2JVV42/yHVMx/DCf0xoBwnBJxcMAvx0opxIrA4ckZqiLNzUpzjf/qS109zjG h0WQ== 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=n+tcrvSsv/jVLy4bZUNeVQU1Cz003tWDNHPuu4thCZg=; b=Vv/KSCMlb640m9uFH17i5V8ZwjFOeWkOX61qJ95o2BpaABaDh/wVQ22Uo3JnvTJqWF eaYgGmYnzJY6nRt6hs2T8r3kHArixBjv/WaYb8s3ZDPLhE8tKuFXB7RNkO+qTv3o4v7L w2Df5Wr2Heg7AT6NhU/MreRCN5GWLn99FQiQIwGO+PzDlLtBLZ3L5tsHhKdjEy6kQSm8 EE2aQyozy4zsBne6Y2JRkwtIkcdavuYowo9/fByF0YvXBy85cQrXxSlPlDaFoSMlnFRb y6HOfRxxdq60u8oG6TzqknxK+5bsQ/19YJMHp70Yo9excEdUD9osJU7Lz3uCw27hDyzg M3Ng== X-Gm-Message-State: AOUpUlGjvYRog/jgBdOrsRSy7uv7a9EsOBct1H3nEit71F9hFLWA/S+B CUrtqcnBdWD1/Ppx3hXvIo3/wUwx X-Received: by 2002:a17:902:3281:: with SMTP id z1-v6mr3043763plb.226.1531858710268; Tue, 17 Jul 2018 13:18:30 -0700 (PDT) Received: from raghu-VirtualBox ([116.197.184.12]) by smtp.gmail.com with ESMTPSA id k190-v6sm3098933pge.28.2018.07.17.13.18.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 13:18:29 -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: Tue, 17 Jul 2018 23:04:01 +0530 Message-Id: <20180717173401.18024-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 426e54a9d574..59fb66c0e064 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