summaryrefslogtreecommitdiffstats
path: root/mm/rodata_test.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-06-26 04:29:51 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-26 04:29:51 +0200
commit7bed14551659875e1cd23a7c0266394a29a773b3 (patch)
tree2bbd8b1b2b1610d2e48a71bf7bb5f41ac5e1d0ef /mm/rodata_test.c
parentsch_cake: add RFC 8622 LE PHB support to CAKE diffserv handling (diff)
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff)
downloadlinux-7bed14551659875e1cd23a7c0266394a29a773b3.tar.xz
linux-7bed14551659875e1cd23a7c0266394a29a773b3.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Minor overlapping changes in xfrm_device.c, between the double ESP trailing bug fix setting the XFRM_INIT flag and the changes in net-next preparing for bonding encryption support. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/rodata_test.c')
-rw-r--r--mm/rodata_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/rodata_test.c b/mm/rodata_test.c
index 5e313fa93276..2a99df7beeb3 100644
--- a/mm/rodata_test.c
+++ b/mm/rodata_test.c
@@ -25,7 +25,7 @@ void rodata_test(void)
}
/* test 2: write to the variable; this should fault */
- if (!probe_kernel_write((void *)&rodata_test_data,
+ if (!copy_to_kernel_nofault((void *)&rodata_test_data,
(void *)&zero, sizeof(zero))) {
pr_err("test data was not read only\n");
return;