[PATCH v2 11/30] cxlflash: Make functions static

Matthew R. Ochs mrochs at linux.vnet.ibm.com
Tue Sep 22 08:36:40 AEST 2015


> On Sep 21, 2015, at 7:18 AM, Tomas Henzl <thenzl at redhat.com> wrote:
> On 16.9.2015 23:28, Matthew R. Ochs wrote:
>> 
>> +
>> +write_rrin:
>> +	nretry = 0;
>> +	writeq_be(rrin, &afu->host_map->ioarrin);
>> +	do {
>> +		rrin = readq_be(&afu->host_map->ioarrin);
>> +		if (rrin != 0x1)
>> +			break;
>> +		/* Double delay each time */
>> +		udelay(2 ^ nretry);
> 
> Double delay - isn't another operator needed?
> If so, pleas add a new patch for this.
> --tm

Good catch. This was an oversight. Will fix in a new patch in v3.


-matt



More information about the Linuxppc-dev mailing list