Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3a9e9e authored by Benjamin Poirier's avatar Benjamin Poirier Committed by David S. Miller
Browse files

tlan: add cast needed for proper 64 bit operation



Changes this beauty into a statement that actually has an effect on amd64.

Tested-by: default avatarPer Jessen <per@opensuse.org>
Signed-off-by: default avatarBenjamin Poirier <bpoirier@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a580949
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ tlan_get_skb(const struct tlan_list *tag)
	unsigned long addr;

	addr = tag->buffer[9].address;
	addr |= (tag->buffer[8].address << 16) << 16;
	addr |= ((unsigned long) tag->buffer[8].address << 16) << 16;
	return (struct sk_buff *) addr;
}