Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3544178ybc; Mon, 25 Nov 2019 16:37:43 -0800 (PST) X-Google-Smtp-Source: APXvYqy7Xn9ZDezzDVpgy5chvCRPeqVsnQEd/cWMk0HS0zllTPoSy9rXtIdfDXR7rkvhf+pPqY2A X-Received: by 2002:aa7:c59a:: with SMTP id g26mr21836740edq.109.1574728663079; Mon, 25 Nov 2019 16:37:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574728663; cv=none; d=google.com; s=arc-20160816; b=uVoyuHLkSn66oArLGoVQIjLzjZ8jNsJx78JqS3fTHaIyrMaONoSfM1TaTp1UqaEN7U IHS/trLUuCYXS4Z6qArvn4/xQB9gmpkYTBEpCellMXFToAXl3BKTJRyYr/KMWK0n2hIQ LBedmYB019nbrnO8wgZBWp0zoF/mEaMWzWPo2jMmPNyks5hgsBKn0KeNYeL9OKu7mpnz JZcZjGfqQFZ0/vJGSK0oIdJ5+iHaGxT33j3EuvvpGtvwlcv2GDuOD6kguawVCPxTW/nd PduQlqh1O4HADsUrrcodGFgS+9rRAOC6v+WvEGBB1Kf6Tfs+1AmuNUQCVHqh8mzsUx7p HMtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GDFio4Lhb0kKhPkBrIjIeoSXog1kC5Yksq1DrKHrUpU=; b=Z6e/CtSlqJUU8l5eN4GaEksPoHi3/wtE8KuxLPnEq6YXMc4uN+YPG1eou1PM4akMTq FlAo1IS0aWsLvC11S1oc0VyhUXdlVjJotIy9u9XEHxUuJOhSCeWRjgUg+vrK+jm8Ontb CNAFqozViOBuziOvufqedVGrW3Wj3IutpfEag8JkRlquMZoPDV4xbMl2T1/ytj8AQ4wV 8EOORIv0tEHlyvFd6hB49tbxJ5M/9lcqRK+gaUCsbF/1WWHCiFXFuNnOZhnAvThRSMOn Hq4gwVo+DDLOBMiudgZZ8/99HL+3998SJQY0N4vFEH+nzSJ42yKjZDYkXRGMLEgk+yok TUoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=shvCV5hp; 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 h11si7488488ede.45.2019.11.25.16.37.18; Mon, 25 Nov 2019 16:37:43 -0800 (PST) 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=shvCV5hp; 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 S1726926AbfKZAfd (ORCPT + 99 others); Mon, 25 Nov 2019 19:35:33 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43288 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfKZAfd (ORCPT ); Mon, 25 Nov 2019 19:35:33 -0500 Received: by mail-wr1-f66.google.com with SMTP id n1so20372998wra.10 for ; Mon, 25 Nov 2019 16:35:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GDFio4Lhb0kKhPkBrIjIeoSXog1kC5Yksq1DrKHrUpU=; b=shvCV5hpquBUdbjLWkMX/ziKHTReuQPJ1XIUHiUBGiHEt4QY+rZ9xJyLIA5SxNKv9E AGYuY2h8k29ml7h96ZPB7TggN266SvZSY7Y6DpFj6ltmmUJtFeUXfoxGMlexiCrpkBxp xmuowIDQk1i1byxc+xFD0MacBpt+QBPACAMHGSEqqdTc6Dx1CB3GvJH5kvY1wp40TK7G 51QQureKo/wpA5rywxNdU4nRAToqJ1WvUlcNhiu8WQMAUi4LjxDC6Gqvn1lHsvGCiHsv d8AjhzrpUT6FV/aiYuDvDs+VIPFpg2YX/n8mWHANVrAxSCNIq6T5CdreKzesRxny1dT/ 3sIQ== 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:mime-version :content-transfer-encoding; bh=GDFio4Lhb0kKhPkBrIjIeoSXog1kC5Yksq1DrKHrUpU=; b=S/1QS73P3tXNo2mxwFMZFSCg+DAnU0rpcRe+2CA2N44jIZGpFc+KxSHt6hx1x258Ax PopT1jwXNhE+3ZOH7R7BN4OsS4ac0hmZmyUgC4CPRpwTx3em6KV99VVqnij44oXSmMP/ ZjYfm8uXPV2WwcnAionQUai0y7KCA2ilh+aFp97JZ+C2qYZAv+iPYjicQ4Moy+47+MB9 i5WmvMBhDHfufv/moD5jfIl9IXlXElKnyDbEtwszB1/0KSxBlAdB1Do0lSYQuWZj2fhI 8Z3JXGQ+IEBqC+lw7vQjPB+7Flhz96YEFnLFsUdYGdQxEtNzOKpGeWkIh6qab9iEoYC8 xW5A== X-Gm-Message-State: APjAAAUqYfczylVI33xLxY5tOMNthV9XHnMs5N9kTvMPP0AKvQHNoFRW kRJ+2G9CJndLAvsfx4nYVQ== X-Received: by 2002:adf:db01:: with SMTP id s1mr32001656wri.372.1574728531157; Mon, 25 Nov 2019 16:35:31 -0800 (PST) Received: from ninjahub.lan (host-2-102-12-67.as13285.net. [2.102.12.67]) by smtp.googlemail.com with ESMTPSA id t14sm12159380wrw.87.2019.11.25.16.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 16:35:30 -0800 (PST) From: Jules Irenge To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, David1.Zhou@amd.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, daniel@ffwll.ch, airlied@linux.ie, amd-gfx@lists.freedesktop.org, Jules Irenge Subject: [PATCH] drm: radeon: replace 0 with NULL Date: Tue, 26 Nov 2019 00:35:14 +0000 Message-Id: <20191126003514.133692-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace 0 with NULL to fix sparse tool warning warning: Using plain integer as NULL pointer Signed-off-by: Jules Irenge --- drivers/gpu/drm/radeon/radeon_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c index b9aea5776d3d..2269cfced788 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.c +++ b/drivers/gpu/drm/radeon/radeon_audio.c @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev) } else { rdev->audio.funcs = &r600_funcs; rdev->audio.hdmi_funcs = &r600_hdmi_funcs; - rdev->audio.dp_funcs = 0; + rdev->audio.dp_funcs = NULL; } } -- 2.23.0