Re: [PATCH net] net: b44: fix error return code in b44_init_one()

From: Michael Chan
Date: Mon Nov 16 2020 - 23:13:57 EST


On Mon, Nov 16, 2020 at 7:01 PM Zhang Changzhong
<zhangchangzhong@xxxxxxxxxx> wrote:
>
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: 39a6f4bce6b4 ("b44: replace the ssb_dma API with the generic DMA API")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>

Reviewed-by: Michael Chan <michael.chan@xxxxxxxxxxxx>

Thanks.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature