Re: Kernel 2.4.X and HP Scanjet 6300C

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Jul 02 2001 - 11:43:34 PDT

  • Next message: Karl Heinz Kremer: "Re: What's the status of sanei-thread?"

    On Sun, Jun 24, 2001 at 12:28:19AM -0400, Douglas Gilbert wrote:

    > - if ( (req->sgdata.sg3.hdr.info && SG_INFO_CHECK != 0)
    > + if ( (req->sgdata.sg3.hdr.info & SG_INFO_CHECK != 0)

    Doug, didn't we agree that this needs more parentheses? As in:

    if ( ((req->sgdata.sg3.hdr.info & SG_INFO_CHECK) != 0)

    ? Otherwise, (SG_INFO_CHECK != 0) is what gets evaluated first, which
    doesn't seem right.

    Tim.
    */



    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Jul 02 2001 - 11:38:02 PDT