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
Showing
Please register or sign in to comment