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 devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux