Re: [PATCH] staging: rtl8723bs: core: fix some incorrect type warnings

From: Greg Kroah-Hartman
Date: Thu Jun 03 2021 - 05:17:19 EST


On Thu, Jun 03, 2021 at 04:36:55PM +0800, Jiabing Wan wrote:
>
>
> Hi,all
>
> I fix these warnings by refering other patches.
>
> Actually, I don't understand clearly what I did.
>
> But there are no warnings after this fix.
>
> So if this fix were totally wrong, please told me and
> gave me some suggestions.
>
> It is important for me to fix a sparse bug.

Do not fix sparse bugs just for the sake of fixing sparse bugs. Fix
things you know are needed to be fixed.

Please look closer at this to ensure that you really are fixing this
correctly and understand what you are doing before sending it out.

thanks,

greg k-h