Thread (78 messages) 78 messages, 4 authors, 2015-09-23

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

From: Matthew R. Ochs <hidden>
Date: 2015-09-21 22:36:45
Also in: linux-scsi

On Sep 21, 2015, at 7:18 AM, Tomas Henzl [off-list ref] wrote:
On 16.9.2015 23:28, Matthew R. Ochs wrote:
quoted
+
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help