top.org;
> dri-devel@lists.freedesktop.org; linux-ker...@vger.kernel.org; Jiapeng Chong
> ; Abaci Robot ;
> Kahola, Mika
> Subject: Re: [PATCH] drm/i915/psr: Fix unsigned expression compared with zero
>
> On Wed, 22 Nov 2023, Jiapeng Chong wrote:
> > The entry_setup_frames i
On Wed, 22 Nov 2023, Jiapeng Chong wrote:
> The entry_setup_frames is defined as u8 type, else(entry_setup_frames < 0)
> is invalid. At the same time, the return value of function
> intel_psr_entry_setup_frames is also of type int. so modified
> its type to int.
>
> ./drivers/gpu/drm/i915/display/
The entry_setup_frames is defined as u8 type, else(entry_setup_frames < 0)
is invalid. At the same time, the return value of function
intel_psr_entry_setup_frames is also of type int. so modified
its type to int.
./drivers/gpu/drm/i915/display/intel_psr.c:1336:5-23: WARNING: Unsigned
expression c