All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Martin Langer <martin-langer@gmx.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] compiling problem fixed
Date: Wed, 11 May 2005 15:20:27 +0200	[thread overview]
Message-ID: <s5hoebh292c.wl@alsa2.suse.de> (raw)
In-Reply-To: <20050503142916.GA3281@tuba>

At Tue, 3 May 2005 16:29:16 +0200,
Martin Langer wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> This fixes a 2.4 compiling problem on alpha. GFP_KERNEL was undeclared.
> 
> Signed-Off-by: Martin Langer <martin-langer@gmx.de>
> [2 adriver.patch <text/plain; us-ascii (7bit)>]
> --- include/adriver.h.ORIGINAL	2005-05-03 15:57:09.000000000 +0200
> +++ include/adriver.h	2005-05-03 16:09:16.000000000 +0200
> @@ -23,6 +23,7 @@
>   */
>  
>  #include <linux/version.h>
> +#include <linux/slab.h>
>  
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 2, 3)
>  #error "This driver requires Linux 2.2.3 or higher."

It's not nice to put to this place.  It always includes the file.

Where does this error happen?  In the gameport wrapper inline
function?  If so, try to include just before it so that it doesn't
affect to other kernel versions.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click

  reply	other threads:[~2005-05-11 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 14:29 [PATCH] compiling problem fixed Martin Langer
2005-05-11 13:20 ` Takashi Iwai [this message]
2005-05-11 18:54   ` Martin Langer
2005-05-12  9:07     ` Takashi Iwai

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=s5hoebh292c.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=martin-langer@gmx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.