]> git.baikalelectronics.ru Git - kernel.git/commit
ocxl: Fix misleading comment
authorAndrew Donnellan <ajd@linux.ibm.com>
Wed, 26 Feb 2020 04:39:23 +0000 (15:39 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 20 May 2020 13:39:57 +0000 (23:39 +1000)
commitd1dfe7c5b3e66e298f5248822f7a55a0b2147896
tree3a98f8b722385d5babb91c092cfb8ab6cafa4488
parent02befd39168148fbdce585d3b916cc17f659b8d4
ocxl: Fix misleading comment

In ocxl_context_free() we note that the AFU reference we're releasing
was taken in "ocxl_context_init", a function that no longer exists.

Fix it to say ocxl_context_alloc() instead, which is the new name for
ocxl_context_init(), since it was renamed.

Fixes: dbcdeca61b1f ("ocxl: Allow external drivers to use OpenCAPI contexts")
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200226043923.5481-1-ajd@linux.ibm.com
drivers/misc/ocxl/context.c