lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 29 May 2009 02:05:54 -0700 (PDT)
From:	David Miller <>
Subject: Re: [PATCH 3/5] netdev: bfin_mac: fix performance issue found by

From: Mike Frysinger <>
Date: Wed, 27 May 2009 02:10:13 -0400

> @@ -606,86 +606,28 @@ static int bfin_mac_hard_start_xmit(struct sk_buff *skb,
>  				struct net_device *dev)
>  {
>  	u16 *data;
> -
> +	u32 data_align = (u32)(skb->data) & 0x3;

A pointer is not castable directly to a u32 everywhere.  It can be
64-bits and in which case GCC will warn here.

I know this is a blackfin specific driver, but please write portable

Use "unsigned long" or similar.

I'm not applying this as it is now.
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists