summaryrefslogtreecommitdiff
path: root/kernel/bpf
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-19 15:26:17 +0100
committerPetr Mladek <pmladek@suse.com>2021-10-27 13:40:13 +0200
commitc666d447e091be3a742588b49290e7733115769f (patch)
tree2632182a178bcbb3cbc694de8a0d71a52ae7d444 /kernel/bpf
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
test_printf: Make pft array const
Instead of assigning ptf[i].value, leave the values in the on-stack array and then we can make the array const. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Yafang Shao <laoar.shao@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20211019142621.2810043-2-willy@infradead.org
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions