[PATCH] iMX28 Ethernet driver fix

David Miller davem at davemloft.net
Wed Nov 9 16:11:34 EST 2011


From: Peter Horton <phorton at bitbox.co.uk>
Date: Wed, 9 Nov 2011 12:44:11 +0000

> -	if (((unsigned long) bufaddr) & FEC_ALIGNMENT) {
> +	if ((((unsigned long) bufaddr) & FEC_ALIGNMENT) ||
> +		((id_entry->driver_data & FEC_QUIRK_SWAP_FRAME) &&
> +		skb_cloned(skb)))
> +	{

Please format this condition properly:

	if (A ||
	    (B &&
             C)) {




More information about the linux-arm-kernel mailing list