Re: byteorder: cpu_to_le32_array vs cpu_to_be32_array function API differences

From: Andy Shevchenko
Date: Mon Oct 21 2019 - 05:31:34 EST


On Sun, Oct 20, 2019 at 12:02:52PM -0700, Joe Perches wrote:
> There's an argument inconsistency between these 4 functions
> in include/linux/byteorder/generic.h
>
> It'd be more a consistent API with one form and not two.

This is done in order to:
- avoid changing existing code
- start a very this discussion to see what we can do if it's even needed to be done

So, do we have other places in the kernel which can utilize either of these?

--
With Best Regards,
Andy Shevchenko