lkml.org 
[lkml]   [2022]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 2/4] ufs: core: Remove redundant desc_size variable from hba
Date
> Hi Arthur,
>
> Do you think it is better to use kzalloc or kmalloc here? If item in the
>
> descriptor is not supported by the device, it will be 0x00 and then the
>
> relevant feature will be marked as disabled or not supported on the
>
> device feature checkup logic.
>
Agree, better to use kzalloc. Done.
\
 
 \ /
  Last update: 2022-11-13 14:34    [W:0.129 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site