[PATCH 4/7] staging: nvec: add NVEC_CALL helper macro

Greg KH gregkh at linuxfoundation.org
Thu Jun 14 22:09:38 UTC 2012


On Thu, Jun 14, 2012 at 11:57:38PM +0200, Marc Dietrich wrote:
> Add a helper macro to wrap nvec_{a}sync_writes and to get rid of
> the various strings distributed all over the nvec code.

Why can't these be inline functions instead?  That will catch errors
easier, and make it a bit more "obvious" as to what is going on (hint, I
have no idea in reading these what they are doing...)

thanks,

greg k-h



More information about the devel mailing list