tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Changing the return value of xxx_attach() from void to int.



On Thu, Jun 23, 2016 at 07:40:14PM +0900, Masanobu SAITOH wrote:
>  As you know, the return value of device driver's attach function is void.
> I've thought that we should change it to int for many years. I believe I'm
> not the only person.

I don't mind a return value to show successful attachment, but I don't
see a point in doing more than "works or not". Any proposal to change
this should also include a proposal for how this interacts with rescans
and the like.

Joerg


Home | Main Index | Thread Index | Old Index