Re: [PATCH v2 1/1] device property: Introduce fwnode_call_bool_op() for ops that return bool

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

 



On Wednesday, July 12, 2017 02:20:33 PM Sakari Ailus wrote:
> fwnode_call_int_op() isn't suitable for calling ops that return bool since
> it effectively causes the result returned to the user to be true when an
> op hasn't been defined or the fwnode is NULL. Address this by introducing
> fwnode_call_bool_op() for calling ops that return bool.
> 
> Fixes: 3708184afc77 ("device property: Move FW type specific functionality to FW specific files")
> Fixes: 2294b3af05e9 ("device property: Introduce fwnode_device_is_available()")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

Applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux