Re: [PATCH v1.3 10/11] arcmsr: Fixed coding style errors and white space change
From: Dan Carpenter
Date: Fri Feb 21 2014 - 03:20:52 EST
On Fri, Feb 21, 2014 at 12:35:58PM +0800, éæé wrote:
> From: Ching <ching2048@xxxxxxxxxxxx>
>
> Fixed coding style errors and white space change.
>
This doesn't *just* do that. It also has code changes.
> -static void arcmsr_hbaC_flush_cache(struct AdapterControlBlock *pACB)
> +static void
> +arcmsr_hbaC_flush_cache(struct AdapterControlBlock *pACB)
> {
> struct MessageUnit_C __iomem *reg = pACB->pmuC;
> - int retry_count = 30;/* enlarge wait flush adapter cache time:
> 10 minute */
> + int retry_count = 6;
> +
> writel(ARCMSR_INBOUND_MESG0_FLUSH_CACHE, ®->inbound_msgaddr0);
> writel(ARCMSR_HBCMU_DRV2IOP_MESSAGE_CMD_DONE, ®->inbound_doorbell);
> + readl(®->inbound_doorbell);
> + readl(®->inbound_msgaddr0);
We also change the printed driver string and there are other code
changes as well.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/