stead:
> kfree(tlv);
> return rc;
> on_error:
> virtsnd_ctl_msg_unref(msg);
> kfree(tlv);
> return rc;
> This is very ideomatic.
Thanks. I will separate error and non error cases and update patch
Thanks,
Aiswarya Cyriac
Softwar
On Wed, Feb 14, 2024 at 03:01:10PM +0100, Aiswarya Cyriac wrote:
> This commit fixes the following warning when building virtio_snd driver.
>
> "
> *** CID 1583619: Uninitialized variables (UNINIT)
> sound/virtio/virtio_kctl.c:294 in virtsnd_kctl_tlv_op()
> 288
> 289 break;
>
This commit fixes the following warning when building virtio_snd driver.
"
*** CID 1583619: Uninitialized variables (UNINIT)
sound/virtio/virtio_kctl.c:294 in virtsnd_kctl_tlv_op()
288
289 break;
290 }
291
292 kfree(tlv);
293
vvv CID 1583619:
3 matches
Mail list logo