• Andrew Morton's avatar
    [PATCH] compiler warning fixes for DAC960 on alpha · f5347e30
    Andrew Morton authored
    From: Dave Olien <dmo@osdl.org>
    
    This patch is forwarded from Jay Estabrook at HP.  I've compiled the
    patch on ia32 and ia64 machines and it's good.  I also recreated
    the patch so it would apply to mm5 without fuzzy offsets.
    Here's Jay's summary of the patch:
    
    Here's a very small set of patches against 2.6.0-test4 that help the
    DAC960 driver compile cleaner (gets rid of warnings on Alpha) and help
    it to work on some old OEM'ed DAC960 cards that were sold in our older
    Alphas.
    
    The warnings are all concerned with "conversions to different size
    without cast", as pointers and longs are same size (8-bytes) but ints
    are 4-bytes, on Alpha. I don't believe the change to (long) from (int)
    will affect any 32-bit architectures, but those using LP64 like Alpha,
    ie SPARC64 and prolly IA64, will have the warnings go away.
    
    The change to make the oldest acceptable firmware version 2.70 instead
    of 2.73 is made spcific to Alpha, since it is only those cards that
    DEC OEM'ed from Mylex that would have such (as explained a bit better
    in the patch itself).
    f5347e30
DAC960.c 255 KB