[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200817.150855.1000388232484331253.davem@davemloft.net>
Date: Mon, 17 Aug 2020 15:08:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vulab@...as.ac.cn
Cc: sgoutham@...vell.com, gakula@...vell.com, sbhatta@...vell.com,
hkelam@...vell.com, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] otx2_common: Use devm_kcalloc() in otx2_config_npa()
From: Xu Wang <vulab@...as.ac.cn>
Date: Mon, 17 Aug 2020 02:04:13 +0000
> A multiplication for the size determination of a memory allocation
> indicated that an array data structure should be processed.
> Thus use the corresponding function "devm_kcalloc".
>
> Signed-off-by: Xu Wang <vulab@...as.ac.cn>
Applied, thanks.
Powered by blists - more mailing lists