public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@osdl.org>, dri-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: 2.6.1-rc2-mm1: drm/sis_mm.c compile error
Date: Thu, 8 Jan 2004 16:36:56 +0100	[thread overview]
Message-ID: <20040108153656.GF13867@fs.tum.de> (raw)
In-Reply-To: <20040107232831.13261f76.akpm@osdl.org>

On Wed, Jan 07, 2004 at 11:28:31PM -0800, Andrew Morton wrote:
>...
> - Added the latest code drop from DRM CVS.  People who use DRM, please test
>   it.
>...

I got the following compile error:

<--  snip  -->

...
  CC      drivers/char/drm/sis_mm.o
drivers/char/drm/sis_mm.c:37:25: linux/sisfb.h: No such file or directory
drivers/char/drm/sis_mm.c: In function `sis_fb_alloc':
drivers/char/drm/sis_mm.c:92: error: storage size of `req' isn't known
drivers/char/drm/sis_mm.c:98: warning: implicit declaration of function `sis_malloc'
drivers/char/drm/sis_mm.c:105: warning: implicit declaration of function `sis_free'
drivers/char/drm/sis_mm.c:92: warning: unused variable `req'
make[3]: *** [drivers/char/drm/sis_mm.o] Error 1

<--  snip  -->


This is caused by the following part of the patch to sis_mm.c:


--- linux-2.6.1-rc2/drivers/char/drm/sis_mm.c	2003-09-27 18:57:44.000000000 -0700
+++ 25/drivers/char/drm/sis_mm.c	2004-01-07 22:17:56.000000000 -0800
@@ -34,7 +34,7 @@
 #include "sis_drv.h"
 #include "sis_ds.h"
 #if defined(__linux__) && defined(CONFIG_FB_SIS)
-#include <video/sisfb.h>
+#include <linux/sisfb.h>
 #endif
 
 #define MAX_CONTEXT 100


Reverting this chunk fixes the compilation.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2004-01-08 15:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-08  7:28 2.6.1-rc2-mm1 Andrew Morton
2004-01-08  8:20 ` 2.6.1-rc2-mm1 Andrew Morton
2004-01-08 11:00 ` 2.6.1-rc2-mm1 Daniel Drake
2004-01-08 13:01 ` 2.6.1-rc2-mm1 Ramon Rey Vicente
2004-01-08 18:11   ` 2.6.1-rc2-mm1 Andrew Morton
2004-01-09  8:35     ` 2.6.1-rc2-mm1 Philipp Matthias Hahn
2004-01-09  8:51       ` 2.6.1-rc2-mm1 Jens Axboe
2004-01-08 15:36 ` Adrian Bunk [this message]
2004-01-08 18:34   ` 2.6.1-rc2-mm1: drm/sis_mm.c compile error Andrew Morton
2004-01-08 23:54   ` [Dri-devel] " Alan Cox
2004-01-08 20:22 ` 2.6.1-rc2-mm1 Torrey Hoffman
2004-01-08 20:46   ` 2.6.1-rc2-mm1 Torrey Hoffman
2004-01-08 20:50     ` 2.6.1-rc2-mm1 Andrew Morton
2004-01-08 20:46   ` 2.6.1-rc2-mm1 Torrey Hoffman
2004-01-09  1:06     ` 2.6.1-rc2-mm1 Roberto Sanchez
2004-01-09  1:14       ` 2.6.1-rc2-mm1 Robert Love
2004-01-09  1:52 ` [patch] 2.6.1-rc2-mm1: qla1280.c doesn't compile Adrian Bunk
2004-01-09 13:49   ` Christoph Hellwig

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=20040108153656.GF13867@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@osdl.org \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.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