Re: [PATCH] loop: fix to a race condition due to the early registration of device

From: Anton Volkov
Date: Mon Aug 07 2017 - 09:09:20 EST


This is more of a style-oriented suggestion. This kind of template is commonly used in other modules.

Regards,
Anton

On 07.08.2017 15:54, Johannes Thumshirn wrote:
On Mon, Aug 07, 2017 at 03:37:50PM +0300, Anton Volkov wrote:
+err_out:
return err;

Any reason you can't just use return err; at the respective callsites?

Thanks,
Johannes


-- Anton Volkov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org
e-mail: avolkov@xxxxxxxxx