[PATCH] cxl: fix coccinelle warnings

Matthew R. Ochs mrochs at linux.vnet.ibm.com
Wed Nov 23 04:03:38 AEDT 2016


> On Nov 22, 2016, at 4:13 AM, Andrew Donnellan <andrew.donnellan at au1.ibm.com> wrote:
> 
> Fix the following coccinelle warnings:
> 
>    drivers/misc/cxl/debugfs.c:46:0-23: WARNING: fops_io_x64 should be
>        defined with DEFINE_DEBUGFS_ATTRIBUTE
>    drivers/misc/cxl/guest.c:890:5-26: WARNING: Comparison to bool
>    drivers/misc/cxl/irq.c:107:3-23: WARNING: Assignment of bool to 0/1
>    drivers/misc/cxl/native.c:57:2-3: Unneeded semicolon
>    drivers/misc/cxl/native.c:170:2-3: Unneeded semicolon
> 
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Reviewed-by: Matthew R. Ochs <mrochs at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list