public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: J Freyensee <james_p_freyensee@linux.intel.com>
To: Sergei Trofimovich <slyfox@gentoo.org>
Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
	Jeremy Rocher <rocher.jeremy@gmail.com>
Subject: Re: [PATCH] pti: fix build failure
Date: Mon, 15 Aug 2011 09:35:57 -0700	[thread overview]
Message-ID: <4E494AED.7030005@linux.intel.com> (raw)
In-Reply-To: <1313355177-12605-1-git-send-email-slyfox@gentoo.org>

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

      reply	other threads:[~2011-08-15 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-14 20:52 [PATCH] pti: fix build failure Sergei Trofimovich
2011-08-15 16:35 ` J Freyensee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E494AED.7030005@linux.intel.com \
    --to=james_p_freyensee@linux.intel.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rocher.jeremy@gmail.com \
    --cc=slyfox@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox