Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4408615ybc; Tue, 26 Nov 2019 08:29:34 -0800 (PST) X-Google-Smtp-Source: APXvYqw9yfs8ACbFzytUiaPEz0cWdLVSGesvEANER+HVyP0WV+YHJfHKdmEu0wnqC/RIps7BcrjL X-Received: by 2002:a17:906:19d0:: with SMTP id h16mr42481980ejd.301.1574785774681; Tue, 26 Nov 2019 08:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574785774; cv=none; d=google.com; s=arc-20160816; b=NaCKGldUNI7Fv+hgw5q3CXw6Jgi+4shvim/SV5q8Nn+hzeFNIPNwSWTDRy4JJyJnvk tZDdurhg7Yu8OJ4DEvupo2Vjib/G+0vvwRQeotWbwsAsemd9NBypdTobbGgKuVGdU7uD oM8U39GGQnf2Zgjj454SHhdiWZTyXOnNdUXcpzwhaJYPYZksKYWlGtpr5ze6j2s+DpfY 9K3LEPr0yv5BpLA7TrhRu/KzXwa+oKZ/RlKSOdm5ujNozQoqhJvciT+LnAD4+Xjd4NKc RdQ5vYyLWoOAlSwwqKZHEF7pIA7QSl7krYCOMLO7rM8ORI1DKDf72y5DfQNwWPEs3OWp WndA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lpf541/6ikEv3JJ2ul3APwZIfgPQ6unMan8v4La6FD4=; b=sFU0pMCysXrWTFg4srMhtmfxDUmLyVRnAd8qoaCb7lyiZihT6rLjeuDRwPURVtk5Qx 67bBsng+JsYLxYdwfzrALdOzel7QqAmhpk9mqSwpXDWlQWLah3JHZQhocZrLMMX0sd0R Q7JW0XugdNH0WiW9i1UlxKwi8rSidjRFUjE4OlKLOvGje5xbH5t/5XV+rQv9iCLA3qAo oeGzvexO5vJifUcIWn3IPMoWH+/uuBIblbXYuAqDQ5HCOyNTA9B40vOxbl71bQ5Fmj5s PXQ8AIOyBstr3Yq8V1r5rmlsthheEpY8ij0dz0E4dcFAWOWe8mGQafHHaqZlFHXzjb7K yp0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JieTCFWq; 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 oj22si7509644ejb.230.2019.11.26.08.29.09; Tue, 26 Nov 2019 08:29:34 -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=JieTCFWq; 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 S1727573AbfKZQ2K (ORCPT + 99 others); Tue, 26 Nov 2019 11:28:10 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36407 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbfKZQ2K (ORCPT ); Tue, 26 Nov 2019 11:28:10 -0500 Received: by mail-wm1-f68.google.com with SMTP id n188so4075160wme.1 for ; Tue, 26 Nov 2019 08:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lpf541/6ikEv3JJ2ul3APwZIfgPQ6unMan8v4La6FD4=; b=JieTCFWq0nixSvgtCiL59CJeZu3LC4DI3ozvC6SCMq8yOfpTyvmgTzQNJB+0KAwH82 FZbWZ0MSaOx8Xwf/PcFSyviWSsAoeAD1S9lbb0qYtC+z0LsSqUobyrgpQBvsYKUKNeJH 54d3rcSJAhK5M6xcDfm2qQeTrxTEbQ6aZXBu/JVFc6plWpWQ9ActI88B5VDmDI88O2g8 vzq1ICpaahQOIJ9rTg0v9zl+daqycOPMvOjmbodK1inIBUcGVJyniMp0ftf5N9SVLPji eGpys0U4dyYb/gOJCFwIecl920Kn7XlKRr9hhe0yIdtQG6FInOpysmI5/FNkDA31yEYG h6+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lpf541/6ikEv3JJ2ul3APwZIfgPQ6unMan8v4La6FD4=; b=hRn4jZC4JEHz1bKWB8KXBsCuEBPiuQMHB56L1vmdZKp4C743IKk85oz0QqCfSSUraH eDDC7uN8KrSFxdFCRLA3gQW5UmFJ14Pc1d38odseCfX8rJnPJ7uAA70YeXMx+Vu9OBz6 18JeKb+wiLcDuzWqFjYLZ9CudbqDf2ckHcpuYOO/NJSVGyiDXsWa8T3QaYUt7MM+30Yj 6a80J3fzr25oJ7yL5eqYjoPHh+aNsf8sen2RN8eBOSQktpS/t86NsPAmND2bLNPCb1Gv tHjhLJ56yQOPtxWOPIOjlouLTWsBQlmA486KDsBphNAf/5D/4J57O6eDFV3apB/AdhYb pjLw== X-Gm-Message-State: APjAAAXMkKC1AHLgCsOXurRlZGNoCS4AgHsxLmBWWrWnV2KIusDOdyH0 fPDvoWPtSjLMILfnTTLURILiSMD/cBlMBBPsQxQ= X-Received: by 2002:a7b:c1d3:: with SMTP id a19mr5326942wmj.127.1574785687879; Tue, 26 Nov 2019 08:28:07 -0800 (PST) MIME-Version: 1.0 References: <20191126003514.133692-1-jbi.octave@gmail.com> In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com> From: Alex Deucher Date: Tue, 26 Nov 2019 11:27:55 -0500 Message-ID: Subject: Re: [PATCH] drm: radeon: replace 0 with NULL To: Jules Irenge Cc: "Deucher, Alexander" , Dave Airlie , LKML , Maling list - DRI developers , amd-gfx list , Christian Koenig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. thanks! Alex On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge wrote: > > 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 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel