[PATCH 1/5] ath6kl: address coding style with indent -linux -l 80 -lc

Dan Carpenter error27 at gmail.com
Fri Feb 11 10:21:35 UTC 2011


On Fri, Feb 11, 2011 at 01:27:15AM -0800, Luis R. Rodriguez wrote:
> +		       address = mboxAddress[ENDPOINT1];
> +		       status =
> +		       HIFReadWrite(device, address, buffer, length,
> +				    HIF_RD_SYNC_BYTE_INC, NULL); if (status) {
> +		       AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
> +				       ("Unable to read the BMI data from the device\n"));
> +		       return A_ERROR;}
> +
> +		       return 0;}
> +
> +		       int
> +		       BMIFastDownload(HIF_DEVICE * device, u32 address,
> +				       A_UCHAR * buffer, u32 length) {
> +		       int status = A_ERROR; u32 lastWord = 0;
> +		       u32 lastWordOffset = length & ~0x3;
> +		       u32 unalignedBytes = length & 0x3;
> +		       status = BMILZStreamStart(device, address); if (status) {
> +		       return A_ERROR;}

98589 lines of this.

On the one hand, I can see the humour value.  On the other hand, please
don't ever do this again.  What did we do anything to deserve this?

regards,
dan carpenter



More information about the devel mailing list