summaryrefslogtreecommitdiff
path: root/include/linux/genetlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/genetlink.h')
-rw-r--r--include/linux/genetlink.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h
index a4c61cbce777..ecc2928e8046 100644
--- a/include/linux/genetlink.h
+++ b/include/linux/genetlink.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_GENERIC_NETLINK_H
#define __LINUX_GENERIC_NETLINK_H
@@ -30,7 +31,7 @@ extern wait_queue_head_t genl_sk_destructing_waitq;
* @p: The pointer to read, prior to dereferencing
*
* Return the value of the specified RCU-protected pointer, but omit
- * both the smp_read_barrier_depends() and the ACCESS_ONCE(), because
+ * both the smp_read_barrier_depends() and the READ_ONCE(), because
* caller holds genl mutex.
*/
#define genl_dereference(p) \