Re: [PATCH 12/14] i2c-parport: return proper error values from attach

From: Wolfram Sang
Date: Thu Apr 09 2015 - 06:25:05 EST



> It doesn't really matter that the error codes are different, it matters
> that they are meaningful. As much as possible you should pass error
> codes from the lower layers. parport_claim_or_block() and
> i2c_bit_add_bus() return proper error codes so you should record and
> transmit them.

Oh, surely yes. I assumed they don't and this series is a first step to
fix this. Should have looked myself. Thanks for jumping in here.

Attachment: signature.asc
Description: Digital signature