summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2020-02-13 15:53:11 +0300
committerJonathan Corbet <corbet@lwn.net>2020-02-25 13:39:10 +0300
commitef45e78fdc11ac1794940c2ff4a6bf3bc4c45372 (patch)
tree657c4f117352dfcbeb379b0529d76fa6b8398398 /Documentation/dev-tools
parent021622df556b7213cffec1c0713f093fc7d045e3 (diff)
downloadlinux-ef45e78fdc11ac1794940c2ff4a6bf3bc4c45372.tar.xz
docs: kref: Clarify the use of two kref_put() in example code
Eventhough the current documentation explains that the reference count gets incremented by both kref_init() and kref_get(), it is often misunderstood that only one instance of kref_put() is needed in the example code. So let's clarify that a bit. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions