projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c50134
)
netlink: fix typo in net/netlink/af_netlink.c
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 23 Apr 2013 07:40:35 +0000
(17:40 +1000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 23 Apr 2013 17:09:33 +0000
(13:09 -0400)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 2a3e9ba814c4125d877554b80bc9e7353e7a21e9..da5601d13a7f092050d52ed63fb26637eb28c474 100644
(file)
--- a/
net/netlink/af_netlink.c
+++ b/
net/netlink/af_netlink.c
@@
-381,7
+381,7
@@
static void netlink_frame_flush_dcache(const struct nl_mmap_hdr *hdr)
/* First page is flushed through netlink_{get,set}_status */
p_start = pgvec_to_page(hdr + PAGE_SIZE);
- p_end = pgvec_to_page((void *)hdr + NL_MMAP_
MSG_
HDRLEN + hdr->nm_len - 1);
+ p_end = pgvec_to_page((void *)hdr + NL_MMAP_HDRLEN + hdr->nm_len - 1);
while (p_start <= p_end) {
flush_dcache_page(p_start);
p_start++;