Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1168743yba; Sat, 6 Apr 2019 05:30:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoNTAxFOxlkvdLEVWQxze4+Y/s9rcagAJilDtIyYMELNQfh7SeqYchfX6E20LryEPaDH2a X-Received: by 2002:a17:902:396a:: with SMTP id e39mr18813194plg.220.1554553847247; Sat, 06 Apr 2019 05:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554553847; cv=none; d=google.com; s=arc-20160816; b=u0yK96lhx9fOoTH98vQmKltsiqbEL3t7u6xXA5RnqZVD/7kr7GLR0vk1rogUAGXHEh uGdetmqqbps4mcH2Y7ZGOHWLEfnX+TNYIrCw1z6oypAZcKJFDT6w36tacOR1caZC2IOL IrYFBFsaDREIv0NbgRKK/ZH9Mgdnu8sfTwSoNm1Z/9A50EReQgtreNJvF9ifpn69aobS b7L9nzhoZ3X09YFwhHjA3TqFDhN7/kVAdGv+JWoBWkDHtTsQkQF0mj2OWoBvRbW4k60R KKpo13prdYdPXJpNsJWcnhTmk2QpsBYTtfBZSQGg6UTB0PM7pJEDzHCjTUPhM7uwj4Ct 4+AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=ljzmLp/Rx5JDdQ7QJt3O5yVx/BQTjqg+OOYMyi0keYg=; b=YHBlYgIzMVjz926FPdPEDdpF0JqIy1OmjWzgotz/lcacw/HvEnqsGsqq1N9I/GXHNm oE6h4L7KORUdft2sMeVXH5G4S5oUm7GLd8MY3hk7pIqon7tjvnoB/xHTVqxw1sPhSLNK vVbrnoNsbNRgJiCdGFYVeP/kLMkUFYnGlOajLbTraupPeNf2YP2R01kIXK/urW1AGBIS KO2pGP0BYCmFhUZvgsNMZGZBMHQdrAKFyj9v9MSAlccmBLYXlCF1jRINUddPrqaEpOm3 v0uQXyoHghgdeLUYxilc1S6LxMg5vMnsDrp6W2fT4g0CXWhJfrBkFfnkhXQCAmpv6tua MwUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fEnmlIr3; 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 k4si21518611pll.170.2019.04.06.05.30.17; Sat, 06 Apr 2019 05:30:47 -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=fEnmlIr3; 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 S1726456AbfDFM3T (ORCPT + 99 others); Sat, 6 Apr 2019 08:29:19 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34926 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbfDFM3T (ORCPT ); Sat, 6 Apr 2019 08:29:19 -0400 Received: by mail-pg1-f193.google.com with SMTP id g8so4546893pgf.2 for ; Sat, 06 Apr 2019 05:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=ljzmLp/Rx5JDdQ7QJt3O5yVx/BQTjqg+OOYMyi0keYg=; b=fEnmlIr3h70+VFRqNP9aGzq6oA0lKrThXiQwpVePWZc8qpjcKWQGdcGuQp7AlmdNaV F1OaiDPLdSvR4RPfeRetnNbVGyvK9wBXFT2pXGmG0j8Bph7qoT2OZbgRWHGbAgGBKihj fpU2lK/o3ds4MSsnahRL06aWsfRlATLq8zMVeXx4Aidu89S1hsxfNKEnq8CGD4EGTi/0 h/Sow9VxQnJAyhQXmTN6O7AAprKsH0O2K0hUCBsGtrI07WRlx8mkmWl5nLjEWTkXOJ45 IKqc3f03tyRUZhMm8hX+1NVv7r4LFN1LqjY4hdbn2ufIIiD/q5oDJqjbUwwd75wW+cbx LWqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=ljzmLp/Rx5JDdQ7QJt3O5yVx/BQTjqg+OOYMyi0keYg=; b=RhYmVMxFzp/rrx1dnvu6qR0XjazjTDoTnGIe1AOIRg7xJ8ffMM/i01K+bOTXDRxmyj xyWg45Q3CwfUT/HT57ogIuAg9oQfhPIXxi0gbPncG9d/K00pWZSpZvEwQUg+bz7z/5cq beNWUm+mDaopu5ZevHR0PP9Ga/tjJIyqNWpAA8sV8BDbz5eWeyAkJ+03vHNFQYqUJXAX 5Hl9PX1ZNCjXBwnF9VTJjDnWk7IGUrOhP+Zy/XaKJpE6P2poJbaO7fDlpHucpsKAWdUL jHgTc9MttKBxPZ+zNfYyhwCIYghoxtOn6XdaTltNd7NdD09d/uXIb58OhOgNd9PB4tw8 PF2Q== X-Gm-Message-State: APjAAAUrfmMgyk2FrF88hDX0zU05cYzb6dMzbRbEFDWWjVUx4mGBN2Iq bLmtqA0ZxTI6BmhzILv7ktI= X-Received: by 2002:a63:7152:: with SMTP id b18mr17486324pgn.186.1554553758151; Sat, 06 Apr 2019 05:29:18 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.91.90]) by smtp.gmail.com with ESMTPSA id p26sm55201245pfa.49.2019.04.06.05.29.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 05:29:17 -0700 (PDT) Date: Sat, 6 Apr 2019 17:59:12 +0530 From: Hariprasad Kelam To: Boris Ostrovsky , Juergen Gross , Stefano Stabellini , "Gustavo A. R. Silva" , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH] xen: xen-pciback: fix warning Using plain integer as NULL pointer Message-ID: <20190406122912.GA403@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes passing function argument 0 to NULL to avoid below sparse warning CHECK drivers/xen/xen-pciback/xenbus.c drivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointer Signed-off-by: Hariprasad Kelam --- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/xen-pciback/xenbus.c b/drivers/xen/xen-pciback/xenbus.c index 23f7f6e..833b2d2 100644 --- a/drivers/xen/xen-pciback/xenbus.c +++ b/drivers/xen/xen-pciback/xenbus.c @@ -697,7 +697,7 @@ static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, /* We need to force a call to our callback here in case * xend already configured us! */ - xen_pcibk_be_watch(&pdev->be_watch, NULL, 0); + xen_pcibk_be_watch(&pdev->be_watch, NULL, NULL); out: return err; -- 2.7.4