[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E494AED.7030005@linux.intel.com>
Date: Mon, 15 Aug 2011 09:35:57 -0700
From: J Freyensee <james_p_freyensee@...ux.intel.com>
To: Sergei Trofimovich <slyfox@...too.org>
CC: linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>,
Jeremy Rocher <rocher.jeremy@...il.com>
Subject: Re: [PATCH] pti: fix build failure
On 08/14/2011 01:52 PM, Sergei Trofimovich wrote:
> Found on allmodconfig build (ARCH=alpha)
>
> drivers/misc/pti.c: In function 'get_id':
> drivers/misc/pti.c:249: error: implicit declaration of function 'kmalloc'
> drivers/misc/pti.c: In function 'pti_char_write':
> drivers/misc/pti.c:658: error: implicit declaration of function 'copy_from_user'
>
> Signed-off-by: Sergei Trofimovich<slyfox@...too.org>
> Cc: Greg Kroah-Hartman<gregkh@...e.de>
> Cc: J Freyensee<james_p_freyensee@...ux.intel.com>
> Cc: Jeremy Rocher<rocher.jeremy@...il.com>
> ---
> drivers/misc/pti.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
> index 8653bd0..06df187 100644
> --- a/drivers/misc/pti.c
> +++ b/drivers/misc/pti.c
> @@ -33,6 +33,8 @@
> #include<linux/mutex.h>
> #include<linux/miscdevice.h>
> #include<linux/pti.h>
> +#include<linux/slab.h>
> +#include<linux/uaccess.h>
Thanks for the patch fix, but a patch was emailed to Greg KH on
08/02/2011 fixing this:
http://marc.info/?l=linux-next&m=131016084730837&w=2
>
> #define DRIVERNAME "pti"
> #define PCINAME "pciPTI"
--
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists