[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180319195945.GH3380@lst.de>
Date: Mon, 19 Mar 2018 20:59:45 +0100
From: Christoph Hellwig <hch@....de>
To: Jonas Rabenstein <jonas.rabenstein@...dium.uni-erlangen.de>
Cc: Scott Bauer <scott.bauer@...el.com>,
Jonathan Derrick <jonathan.derrick@...el.com>,
Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v2 06/11] block: sed-opal: split generation of
bytestring header and content
> +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@....de>
Powered by blists - more mailing lists