Re: [PARPORT] [PATCH] parport_pc.c sanity check

From: Philip Blundell (philb@gnu.org)
Date: Tue Jul 31 2001 - 14:31:13 EDT

  • Next message: Philip Blundell: "[PARPORT] [PATCH] parport_cs.c: use slab.h, not malloc.h (fwd)"

    >- if(dma==0) dma=-1;
    >+ if (dma==0) dma=PARPORT_DMA_NONE;
    >+ if (irq==0) irq=PARPORT_IRQ_NONE;

    I don't like this patch much. Who says 0 can't be a legal irq number?

    p.



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Wed Aug 01 2001 - 15:41:00 EDT