[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BY5PR04MB6327DF1BBF48BBBC0BFEF64EED029@BY5PR04MB6327.namprd04.prod.outlook.com>
Date: Sun, 13 Nov 2022 13:33:05 +0000
From: Arthur Simchaev <Arthur.Simchaev@....com>
To: Bean Huo <huobean@...il.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "beanhuo@...ron.com" <beanhuo@...ron.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 2/4] ufs: core: Remove redundant desc_size variable
from hba
> 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.
Powered by blists - more mailing lists