Re: [PATCH 3/3] gpiolib: add __must_check attribute to the gpiochip_add function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Wednesday, March 12, 2008 - 4:07 pm

On Wednesday 12 March 2008, Anton Vorontsov wrote:

OK ...


The logic in this case was that I don't really expect platform
setup code to check this stuff any more than it checks IRQ setup.
But, as the comment says, if platform setup code goofs, it can
cause un-bootable systems.  Ergo the pr_err().

It could be argued either way; that's just what I did, way back
when I noticed the issue.

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] gpiolib: add __must_check attribute to the ..., David Brownell, (Wed Mar 12, 4:07 pm)