Date: Mon, 11 Sep 2006 15:32:11 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Remko Lodder <remko@freebsd.org> Cc: freebsd-i386@freebsd.org Subject: Re: i386/46113: [bus] [patch] busspace bugs in parameter checking Message-ID: <200609111532.12005.hselasky@c2i.net> In-Reply-To: <200609111217.k8BCH9aI074992@freefall.freebsd.org> References: <200609111217.k8BCH9aI074992@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 11 September 2006 14:17, Remko Lodder wrote: > Synopsis: [bus] [patch] busspace bugs in parameter checking > > State-Changed-From-To: open->feedback > State-Changed-By: remko > State-Changed-When: Mon Sep 11 12:16:49 UTC 2006 > State-Changed-Why: > Hello, > > can you tell me whether this had been resolved or not > already? Thanks! > > > Responsible-Changed-From-To: freebsd-i386->remko > Responsible-Changed-By: remko > Responsible-Changed-When: Mon Sep 11 12:16:49 UTC 2006 > Responsible-Changed-Why: > grab the pr > > http://www.freebsd.org/cgi/query-pr.cgi?pr=46113 Last time this was discussed, it ended something like this: If the code currently never calls these functions with "count == 0", then assume it is an optimization to not check for "count == 0". The isssue has not been resolved, rather worked around, by having: if (count != 0) { bus_space_xxxx(....); } in the drivers in question. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609111532.12005.hselasky>