[PATCH] skfp warning fixes
authorAndrew Morton <akpm@osdl.org>
Fri, 17 Mar 2006 07:58:44 +0000 (23:58 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 21 Mar 2006 21:00:53 +0000 (16:00 -0500)
commit3d781a02313e9f22923ee919d99e1cf72fd1f468
treefab9e90894de2fcd483603f66ca592cf1f136c4d
parent09779c6df2dbe95483269d194b327d41fe2cc57e
[PATCH] skfp warning fixes

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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skfp/fplustm.c