• Alexander Viro's avatar
    [ide] fix ide_dump_atapi_status() · 9a5a7622
    Alexander Viro authored
    From: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
    
    On Fri, 4 Feb 2005, Al Viro wrote:
    
    > BTW, ide-lib.c code that triggers the ICE happens to be completely broken.
    > Jens, it's your patch from September 2002 - what used to be
    >        if ((stat & (BUSY_STAT|ERR_STAT)) == ERR_STAT) {
    > became
    >        if ((status.all & (status.b.bsy|status.b.check)) == status.b.check) {
    > and that's *not* an equivalent transformation.  Fixing it doesn't get rid
    > of ICE, but it certainly deserves fixing.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    9a5a7622
ide-lib.c 16.7 KB