Re: [PATCH] staging: comedi: add error handling for vmap

From: Dan Carpenter
Date: Tue Jun 12 2018 - 07:51:01 EST


On Tue, Jun 12, 2018 at 11:25:35AM +0800, Zhouyang Jia wrote:
> When vmap fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling vmap.
>

Again, this is not error handling, this is just an error message. This
error condition is handled in the caller.

regards,
dan carpenter