All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26  0:35 ` Jules Irenge
  0 siblings, 0 replies; 16+ messages in thread
From: Jules Irenge @ 2019-11-26  0:35 UTC (permalink / raw)
  To: alexander.deucher
  Cc: christian.koenig, David1.Zhou, linux-kernel, dri-devel, daniel,
	airlied, amd-gfx, Jules Irenge

Replace 0 with NULL to fix sparse tool  warning
 warning: Using plain integer as NULL pointer

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-11-26 16:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26  0:35 [PATCH] drm: radeon: replace 0 with NULL Jules Irenge
2019-11-26  0:35 ` Jules Irenge
2019-11-26  0:35 ` Jules Irenge
2019-11-26 10:09 ` Christian König
2019-11-26 10:09   ` Christian König
2019-11-26 10:09   ` Christian König
2019-11-26 14:55   ` Liu, Zhan
2019-11-26 14:55     ` Liu, Zhan
2019-11-26 14:55     ` Liu, Zhan
2019-11-26 15:31   ` Liu, Zhan
2019-11-26 15:31     ` Liu, Zhan
2019-11-26 15:31     ` Liu, Zhan
2019-11-26 16:27 ` Alex Deucher
2019-11-26 16:27   ` Alex Deucher
2019-11-26 16:27   ` Alex Deucher
2019-11-26 16:27   ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.