Thread (52 messages) 52 messages, 5 authors, 2018-04-05

Re: [PATCH v2 06/11] block: sed-opal: split generation of bytestring header and content

From: Christoph Hellwig <hch@lst.de>
Date: 2018-03-19 19:59:54
Also in: lkml

+static u8 *add_bytestring_header(int *err, struct opal_dev *cmd, size_t len)
 {
 	size_t header_len = 1;
 	bool is_short_atom = true;
-
-	if (*err)
-		return;
+	char *start;
Shouldn't this also return early if we have a pending error?

Except for that this looks fine:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help