mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1739 (42ba886dkLcSLF35FYJLZkKeANRJYg)
Trivial cleanup in netfront driver. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
deddd053dd
commit
ef6edef8f8
1 file changed
+2
-2
@@ -1343,7 +1343,7 @@ static int xennet_proc_read(
|
||||
{
|
||||
struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
|
||||
struct net_private *np = netdev_priv(dev);
|
||||
int len = 0, which_target = (unsigned long) data & 3;
|
||||
int len = 0, which_target = (long)data & 3;
|
||||
|
||||
switch (which_target)
|
||||
{
|
||||
@@ -1368,7 +1368,7 @@ static int xennet_proc_write(
|
||||
{
|
||||
struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
|
||||
struct net_private *np = netdev_priv(dev);
|
||||
int which_target = (unsigned long) data & 3;
|
||||
int which_target = (long)data & 3;
|
||||
char string[64];
|
||||
long target;
|
||||
|
||||
|
||||