From: Russell King <rmk+lkml@arm.linux.org.uk>
To: James Simmons <jsimmons@infradead.org>
Cc: Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: New FBDev patch
Date: Thu, 8 Jan 2004 23:26:21 +0000 [thread overview]
Message-ID: <20040108232621.B25760@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0401082108080.12797-100000@phoenix.infradead.org>; from jsimmons@infradead.org on Thu, Jan 08, 2004 at 10:03:54PM +0000
On Thu, Jan 08, 2004 at 10:03:54PM +0000, James Simmons wrote:
> This is the latest patch against 2.6.0-rc3. Give it a try.
>
> http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
This looks wrong (cyber2000fb.c):
@@ -1220,18 +1220,18 @@
}
static struct cfb_info * __devinit
-cyberpro_alloc_fb_info(unsigned int id, char *name)
+cyberpro_alloc_fb_info(unsigned int id, char *name, struct device *dev)
{
struct cfb_info *cfb;
+ struct fb_info *fb_info;
- cfb = kmalloc(sizeof(struct cfb_info) +
- sizeof(u32) * 16, GFP_KERNEL);
+ fb_info = framebuffer_alloc(sizeof(struct cfb_info) + 32 * 16, dev);
sizeof(u32) != 32. Proper fix is to place the pseudopalette array
inside cfb_info, and dispense with this addition here.
I could supply a patch, but I'll wait for this to be merged before
I fix this up.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
next prev parent reply other threads:[~2004-01-08 23:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 22:03 New FBDev patch James Simmons
2004-01-08 23:05 ` Paul Mundt
2004-01-08 23:12 ` Tomas Szepe
2004-01-09 0:35 ` James Simmons
2004-01-10 17:15 ` Re: New FBDev patch (a little report) Javier Villavicencio
2004-01-11 7:35 ` Benjamin Herrenschmidt
2004-01-11 7:42 ` Benjamin Herrenschmidt
2004-01-08 23:26 ` Russell King [this message]
2004-01-09 19:54 ` New FBDev patch James Simmons
2004-01-11 12:09 ` Russell King
2004-01-09 17:17 ` [Linux-fbdev-devel] " Kronos
2004-01-09 20:06 ` James Simmons
-- strict thread matches above, loose matches on Subject: below --
2004-06-23 18:04 New fbdev patch jsimmons
2004-06-25 14:11 ` Richard Smith
[not found] ` <20040629214850.GC2871@mercury.jahnsnet.de>
2004-06-29 22:27 ` Richard Smith
2004-06-30 16:57 ` jsimmons
2004-07-02 11:01 ` Thomas Jahns
2004-07-05 10:17 ` Thomas Jahns
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=20040108232621.B25760@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-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;
as well as URLs for NNTP newsgroup(s).