Messages in this thread | | | Date | Wed, 09 Nov 2005 13:07:13 -0800 (PST) | Subject | Re: fix sparse warning in horizon atm driver. | From | "David S. Miller" <> |
| |
From: Dave Jones <davej@redhat.com> Date: Wed, 9 Nov 2005 00:57:39 -0500
> these vars get fed u32's, and are OR'd with u32's. > Chances are they were meant to be u32's. > > I don't have hardware to test this, but I can't fathom > why a u16 would be used here. > > drivers/atm/horizon.c:1564:12: warning: cast truncates bits from constant value (40000000 becomes 0)
Hmmm... I would merge this directly, but I'd like Chas Williams (the ATM maintainer) to glance it over first. Can you forward it to him (CC:'ing the linux-atm list, also mentioned in MAINTAINERS, of course)? Thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |