Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3984158pxf; Tue, 16 Mar 2021 02:49:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEk18Wy6W6mimpEqnTBn6oK17A6Hqa36d+/+w2A6iTUdfRueqKd9KdWSoM3ImbCBbf4676 X-Received: by 2002:a17:906:9be1:: with SMTP id de33mr29721700ejc.320.1615888141411; Tue, 16 Mar 2021 02:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615888141; cv=none; d=google.com; s=arc-20160816; b=c4Lhlk2ACH04kpm6wObBIlmw5rGClQCpCdcmb4h2MF/c0CpeypMdmBYvklGC7N7ODd +1UAFR9l2y6W49MvbPrqqr+qPhub9dQFmLImTxNONyLnSV+BrsM5We4X5tSjsneZ5R4k BTbETx+ZZDhoEUV8GePObw0/kYneRokk6FVqUPSqX3OncPYLzdnKba0foXbJ7uTyK/aD +1hc8tSesFuH7Iw/Y83ZsWm714LUp7W/vC/V6lquaRDrUi08tSJPZPYvpeJVFBG+9g22 mQYNfaTtUWMcf00tmDwP8ypDumKOeJxUnWfuxUGHdbZ+OjltewEHHEdGBTv6WxwEaNWb yrZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=aDbTRY2dHfIIsWqU7sKtW+dPRU1IBUxYL299aR4j3xA=; b=Ftpa5fVW6v0bh+776rH8Wf94SEgWMcaAQtYC+4fNwE3lM0DUK6UBgTFmNSG+yvPds7 b+kbZLvMSYgiQw+UoaZG0mOpWDPhkxhLKar9z0vhCTToTk1L+FrlT1QH7CKaqD1h/yop lJrWxYxY+laNuQanIBsdI0dtNSuxwlxBhUhI+DHe5jjczgG6S3YAf22rScNaGx8xeqiG aNnyZ+34BrCMEzTtXxy4flUFjiXOqIZ/rzqu1VF02/w18ruF4NIt2SxY2KWT/gDk4tEd BBUcfRRqr+157Oq2TH/+vwUe6okUbpqpfc5S6K1u2PQbYR5kWVgs0Emi71879KeO45H/ novQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n14si12854171edo.179.2021.03.16.02.48.38; Tue, 16 Mar 2021 02:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235891AbhCPI5z (ORCPT + 99 others); Tue, 16 Mar 2021 04:57:55 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:48027 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235866AbhCPI5Z (ORCPT ); Tue, 16 Mar 2021 04:57:25 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0US7btel_1615885042; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0US7btel_1615885042) by smtp.aliyun-inc.com(127.0.0.1); Tue, 16 Mar 2021 16:57:22 +0800 From: Yang Li To: robinmholt@gmail.com Cc: steve.wahl@hpe.com, mike.travis@hpe.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] misc/sgi-xp: use NULL instead of using plain integer as pointer Date: Tue, 16 Mar 2021 16:57:21 +0800 Message-Id: <1615885041-68750-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes the following sparse warnings: drivers/misc/sgi-xp/xpc_main.c:210:23: warning: Using plain integer as NULL pointer Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/misc/sgi-xp/xpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index 84610bb..b2c3c22 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c @@ -207,7 +207,7 @@ { xpc_arch_ops.heartbeat_init(); timer_setup(&xpc_hb_timer, xpc_hb_beater, 0); - xpc_hb_beater(0); + xpc_hb_beater(NULL); } static void -- 1.8.3.1