Re: [RFC v3 02/13] dell-smo8800: include uaccess.h

Pali Rohár
2016-07-22T21:31:18Z

[-- Attachment #1: Type: Text/Plain, Size: 1176 bytes --]

On Friday 22 July 2016 23:24:36 Luis R. Rodriguez wrote:
> sections.h is currently included and it provides dell-smo8800
> with what it needs, an upcoming change will decouple uaccess.h
> from sections.h. This driver needs to explicitly require uaccess.h
> before this change.
>
> v3: new to this series -- needed due to collateral of the split of
> old linker tables from tables.h into 3 files: sections.h,
> ranges.h and tables.h
>
> Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
> ---
> drivers/platform/x86/dell-smo8800.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/dell-smo8800.c
> b/drivers/platform/x86/dell-smo8800.c index
> 0aec4fd4c48e..37e646034ef8 100644
> --- a/drivers/platform/x86/dell-smo8800.c
> +++ b/drivers/platform/x86/dell-smo8800.c
> @@ -24,6 +24,7 @@
> #include <linux/acpi.h>
> #include <linux/interrupt.h>
> #include <linux/miscdevice.h>
> +#include <linux/uaccess.h>
>
> struct smo8800_device {
> u32 irq; /* acpi device irq */

This is trivial change for dell-smo8800, so you can add my Reviewed-by.

--
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]