Re: [PATCH v2 2/2] i2c: davinci: Use struct name not type with devm_kzalloc()

From
Wolfram Sang <wsa@kernel.org>
Date
2023-06-07 09:30:27
Also in
linux-i2c, lkml
Reply to
Andrew Davis, 2023-05-15
On Mon, May 15, 2023 at 12:50:42PM -0500, Andrew Davis wrote:
This reduces chance of error if the type of "dev" changes. While here
remove extra error print out, this is not usually done for memory
allocation failures.

Signed-off-by: Andrew Davis <redacted>
Applied to for-next, thanks!
Thread (12 messages) 12 messages, 4 authors, last reply 2023-06-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help