• Andrew Morton's avatar
    [PATCH] skfp warning fixes · 3d781a02
    Andrew Morton authored
    drivers/net/skfp/fplustm.c: In function `enable_formac':
    drivers/net/skfp/fplustm.c:552: warning: large integer implicitly truncated to unsigned type
    drivers/net/skfp/fplustm.c:555: warning: large integer implicitly truncated to unsigned type
    
    These arguments were changed to `const', so the compiler can now see that it's
    doing and outw(..., 0xffffnnnn).  Cast the arg to ushort.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    3d781a02
fplustm.c 38.8 KB