Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Abhinav Singh
On 11/7/23 03:07, Alex Deucher wrote: On Mon, Nov 6, 2023 at 4:20 PM Abhinav Singh wrote: On 11/7/23 00:25, Alex Deucher wrote: Applied. This matches what we already do in the other clear state headers. Alex On Fri, Nov 3, 2023 at 12:00 PM Abhinav Singh wrote: sparse static analysis too

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Alex Deucher
On Mon, Nov 6, 2023 at 4:20 PM Abhinav Singh wrote: > > On 11/7/23 00:25, Alex Deucher wrote: > > Applied. This matches what we already do in the other clear state headers. > > > > Alex > > > > On Fri, Nov 3, 2023 at 12:00 PM Abhinav Singh > > wrote: > >> > >> sparse static analysis tools genera

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Abhinav Singh
On 11/7/23 00:25, Alex Deucher wrote: Applied. This matches what we already do in the other clear state headers. Alex On Fri, Nov 3, 2023 at 12:00 PM Abhinav Singh wrote: sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case th

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Alex Deucher
Applied. This matches what we already do in the other clear state headers. Alex On Fri, Nov 3, 2023 at 12:00 PM Abhinav Singh wrote: > > sparse static analysis tools generate a warning with this message > "Using plain integer as NULL pointer". In this case this warning is > being shown because

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Abhinav Singh
On 11/6/23 22:10, Jani Nikula wrote: On Mon, 06 Nov 2023, Abhinav Singh wrote: On 11/6/23 16:53, Jani Nikula wrote: On Fri, 03 Nov 2023, Abhinav Singh wrote: sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case this warning is

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Jani Nikula
On Mon, 06 Nov 2023, Abhinav Singh wrote: > On 11/6/23 16:53, Jani Nikula wrote: >> On Fri, 03 Nov 2023, Abhinav Singh wrote: >>> sparse static analysis tools generate a warning with this message >>> "Using plain integer as NULL pointer". In this case this warning is >>> being shown because we ar

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Abhinav Singh
On 11/6/23 16:53, Jani Nikula wrote: On Fri, 03 Nov 2023, Abhinav Singh wrote: sparse static analysis tools generate a warning with this message "Using plain integer as NULL pointer". In this case this warning is being shown because we are trying to intialize a pointer to NULL using integer val

Re: [PATCH] drivers: gpu: Fix warning using plain integer as NULL

2023-11-06 Thread Jani Nikula
On Fri, 03 Nov 2023, Abhinav Singh wrote: > sparse static analysis tools generate a warning with this message > "Using plain integer as NULL pointer". In this case this warning is > being shown because we are trying to intialize a pointer to NULL using > integer value 0. > > Signed-off-by: Abhinav