Re: [PATCH 4/7] drm/i915/perf: Whitelist OA report trigger registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Nov 2020 14:12:09 -0800, Umesh Nerlige Ramappa wrote:
>
> > +	if (wal->engine)
> > +		spin_lock_irqsave(&wal->engine->uncore->lock, flags);
> > +
> > +	kfree(wal->list);
>
> if (wal->list)
>	kfree(wal->list);

void kfree(const void *objp)
{
	...

        if (unlikely(ZERO_OR_NULL_PTR(objp)))
                return;
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux