Re: [PATCH] net: tun: Remove redundant null checks before kfree

2022-12-01 Thread Katrin Jo
On Wed, Nov 30, 2022 at 9:57 PM Simon Horman wrote: > > + Thierry Reding, linux-tegra, dri-devel > > On Tue, Nov 29, 2022 at 04:43:29PM +0800, zys.zlj...@gmail.com wrote: > > From: Yushan Zhou > > > > Fix the following coccicheck warning: > > ./drivers/gpu/host1x/fence.c:97:2-7: WARNING: > > NULL

Re: [PATCH] drm/i915/gem: remove unused assignments

2022-06-21 Thread Katrin Jo
On Mon, Jun 20, 2022 at 6:13 PM Jani Nikula wrote: > > On Mon, 20 Jun 2022, zys.zlj...@gmail.com wrote: > > From: katrinzhou > > > > The variable ret is reassigned and the value EINVAL is never used. > > Thus, remove the unused assignments. > > It's obviously a bug, but it's not obvious just thro

Re: [PATCH] drm/i915/gem: remove unused assignments

2022-06-21 Thread Katrin Jo
On Mon, Jun 20, 2022 at 6:19 PM Tvrtko Ursulin wrote: > > > On 20/06/2022 11:02, zys.zlj...@gmail.com wrote: > > From: katrinzhou > > > > The variable ret is reassigned and the value EINVAL is never used. > > Thus, remove the unused assignments. > > > > Addresses-Coverity: ("Unused value") > > Fi