All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: "Jenkins, Clive" <Clive.Jenkins@xerox.com>
Subject: Re: write() to zero length framebuffer -- bug report
Date: Tue, 13 Dec 2005 23:36:35 +0800	[thread overview]
Message-ID: <439EEA83.90204@gmail.com> (raw)
In-Reply-To: <35786B99AB3FDC45A8215724617919736D918C@gbrwgceumf01.eu.xerox.net>

Jenkins, Clive wrote:
> In the vanilla 2.4.20 kernel version of fbmem.c, the function
> fb_write() returns zero if the framebuffer size (fix.smem_size)
> is zero, instead of -ENOSPC. This causes a normal user program
> to loop forever.
> 
> Looking at the code for vanilla 2.6.10 and 2.6.11, the situation
> is complicated by the new info.screen_size and kmalloc-ing a
> buffer, but the bug is still there.

Thank you. Will fix.

Tony


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

      reply	other threads:[~2005-12-13 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 14:33 write() to zero length framebuffer -- bug report Jenkins, Clive
2005-12-13 15:36 ` Antonino A. Daplas [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=439EEA83.90204@gmail.com \
    --to=adaplas@gmail.com \
    --cc=Clive.Jenkins@xerox.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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.