Thread (4 messages) flat view 4 messages, 4 authors, 2020-05-18

Re: [PATCH] drivers: ipa: use devm_kzalloc for simplicity

From: Alex Elder <hidden>
Date: 2020-05-18 15:03:58
Also in: lkml

On 5/14/20 2:47 PM, David Miller wrote:
From: Jakub Kicinski <kuba@kernel.org>
Date: Thu, 14 May 2020 10:15:16 -0700
quoted
On Wed, 13 May 2020 20:55:20 -0700 Wang Wenhu wrote:
quoted
Make a substitution of kzalloc with devm_kzalloc to simplify the
ipa_probe() process.

Signed-off-by: Wang Wenhu <redacted>
The code is perfectly fine as is. What problem are you trying to solve?
I agree, these kinds of transformations are kind of excessive.
I have considered using the devm_*() functions, but if I were to
make such a switch it would be done comprehensively, throughout
the driver.  It is not something I plan to do in the near term
though.

					-Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help