* [PATCH] pti: fix build failure
@ 2011-08-14 20:52 Sergei Trofimovich
2011-08-15 16:35 ` J Freyensee
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Trofimovich @ 2011-08-14 20:52 UTC (permalink / raw)
To: linux-kernel
Cc: Sergei Trofimovich, Greg Kroah-Hartman, J Freyensee,
Jeremy Rocher
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@gentoo.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Cc: Jeremy Rocher <rocher.jeremy@gmail.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>
#define DRIVERNAME "pti"
#define PCINAME "pciPTI"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pti: fix build failure
2011-08-14 20:52 [PATCH] pti: fix build failure Sergei Trofimovich
@ 2011-08-15 16:35 ` J Freyensee
0 siblings, 0 replies; 2+ messages in thread
From: J Freyensee @ 2011-08-15 16:35 UTC (permalink / raw)
To: Sergei Trofimovich; +Cc: linux-kernel, Greg Kroah-Hartman, Jeremy Rocher
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@gentoo.org>
> Cc: Greg Kroah-Hartman<gregkh@suse.de>
> Cc: J Freyensee<james_p_freyensee@linux.intel.com>
> Cc: Jeremy Rocher<rocher.jeremy@gmail.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-15 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-14 20:52 [PATCH] pti: fix build failure Sergei Trofimovich
2011-08-15 16:35 ` J Freyensee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox