lkml.org 
[lkml]   [2003]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i2c driver fixes for 2.6.0-test5
On Mon, Sep 22, 2003 at 04:30:28PM -0700, Greg KH wrote:
> for (addr = 0x00; addr <= (is_isa ? 0xffff : 0x7f); addr++) {
> - /* XXX: WTF is going on here??? */
> - if ((is_isa && check_region(addr, 1)) ||
> + void *region_used = request_region(addr, 1, "foo");
> + release_region(addr, 1);
> + if ((is_isa && (region_used == NULL)) ||

WTF?? Your papering over bugs again, this doesn't help at all.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site