Thread (18 messages) flat view 18 messages, 3 authors, 2021-03-17

Re: [net PATCH 3/9] octeontx2-af: Do not allocate memory for devlink private

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-03-16 17:05:49
Also in: lkml

On Tue, 16 Mar 2021 14:57:07 +0530 Hariprasad Kelam wrote:
From: Subbaraya Sundeep <sbhatta@marvell.com>

Memory for driver private structure rvu_devlink is
also allocated during devlink_alloc. Hence use
the allocated memory by devlink_alloc and access it
by devlink_priv call.

Fixes: fae06da4("octeontx2-af: Add devlink suppoort to af driver")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Hariprasad Kelam <redacted>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Does it fix any bug? Looks like a coding improvement.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help