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

Dan Carpenter dan.carpenter at oracle.com
Tue Jun 12 11:50:39 UTC 2018


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




More information about the devel mailing list