Excerpts from andrew.donnellan's message of 2016-11-23 18:06:59 +1100:
> On 23/11/16 17:49, Ian Munsie wrote:
> > Most of these look fine
> >
> >> -return debugfs_create_file(name, mode, parent, (void __force *)value,
> >> &fops_io_x64);
> >> +return debugfs_create_file_unsafe(name, mode,
On 23/11/16 17:49, Ian Munsie wrote:
Most of these look fine
-return debugfs_create_file(name, mode, parent, (void __force *)value,
&fops_io_x64);
+return debugfs_create_file_unsafe(name, mode, parent,
+ (void __force *)value, &fops_io_x64);
Just wondering what t
Most of these look fine
> -return debugfs_create_file(name, mode, parent, (void __force *)value,
> &fops_io_x64);
> +return debugfs_create_file_unsafe(name, mode, parent,
> + (void __force *)value, &fops_io_x64);
Just wondering what this one is about?
Cheers,
-Ian
> On Nov 22, 2016, at 4:13 AM, Andrew Donnellan
> 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
>d
Le 22/11/2016 à 11:13, Andrew Donnellan a écrit :
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/
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