From: Dave Penkler Date: Wed, 21 May 2025 16:08:30 +0000 (+0200) Subject: staging: gpib: Update TODO X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b940fd6ce31e038628cd115ac1c8906b93e096d5;p=users%2Fjedix%2Flinux-maple.git staging: gpib: Update TODO As we no longer have any drivers depending on BROKEN in Kconfig remove the fix broken driver line. Add a list of checkpatch checks/warning that should be ignored. Signed-off-by: Dave Penkler Link: https://lore.kernel.org/r/20250521160830.30454-1-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/gpib/TODO b/drivers/staging/gpib/TODO index bf2c397425487..ab41a7f9ca5bf 100644 --- a/drivers/staging/gpib/TODO +++ b/drivers/staging/gpib/TODO @@ -1,6 +1,9 @@ TODO: - checkpatch.pl fixes -- fix device drivers that are broken ("depends on BROKEN" in Kconfig) + These checks should be ignored: + CHECK:ALLOC_SIZEOF_STRUCT: Prefer kmalloc(sizeof(*board->private_data)...) over kmalloc(sizeof(struct xxx_priv)...) + ./gpio/gpib_bitbang.c:50: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parenthese + This warning will be addressed later: WARNING:UNDOCUMENTED_DT_STRING: DT compatible string - tidy-up comments: - there are some "//comments" and "// comments" scattered around - sometimes they are misaligned