# 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?"
  - Previous message: Mark Parrish: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Next in thread: DStevenson: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Reply: DStevenson: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Reply: Douglas Gilbert: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  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.
  */

  - application/pgp-signature attachment: stored

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

  - Next message: Karl Heinz Kremer: "Re: What's the status of sanei-thread?"
  - Previous message: Mark Parrish: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Next in thread: DStevenson: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Reply: DStevenson: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Reply: Douglas Gilbert: "Re: Kernel 2.4.X and HP Scanjet 6300C"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

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