Re: [PATCH v2] ionic: Use debugfs_create_bool() to export bool

2020-05-06 Thread David Miller
From: Geert Uytterhoeven Date: Tue, 5 May 2020 15:28:09 +0200 > Currently bool ionic_cq.done_color is exported using > debugfs_create_u8(), which requires a cast, preventing further compiler > checks. > > Fix this by switching to debugfs_create_bool(), and dropping the cast. > > Signed-off-by:

[PATCH v2] ionic: Use debugfs_create_bool() to export bool

2020-05-05 Thread Geert Uytterhoeven
Currently bool ionic_cq.done_color is exported using debugfs_create_u8(), which requires a cast, preventing further compiler checks. Fix this by switching to debugfs_create_bool(), and dropping the cast. Signed-off-by: Geert Uytterhoeven Acked-by: Shannon Nelson --- v2: - Add Acked-by. --- d