lkml.org 
[lkml]   [2023]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] iommufd/device: Make hwpt_list list_add/del symmetric
On Sat, Jan 28, 2023 at 07:52:54PM +0800, kernel test robot wrote:

> >> drivers/iommu/iommufd/device.c:279:23: warning: variable 'hwpt' is uninitialized when used here [-Wuninitialized]
> lockdep_assert_held(&hwpt->ioas->mutex);
> ^~~~

A mistake here...will fix with a v2:
lockdep_assert_held(&ioas->mutex);

Thanks
Nicolin

\
 
 \ /
  Last update: 2023-03-27 00:00    [W:0.226 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site