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: NMatthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: NYafang Shao <laoar.shao@gmail.com> Reviewed-by: NPetr Mladek <pmladek@suse.com> Reviewed-by: NAnshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: NPetr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20211019142621.2810043-2-willy@infradead.org
Showing
想要评论请 注册 或 登录