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

From: David Miller
Date: Wed May 06 2020 - 20:47:04 EST


From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
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: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Acked-by: Shannon Nelson <snelson@xxxxxxxxxxx>

Applied, thanks.