[PATCH] mtd: partitions: turn PART() macro into inline function

Brian Norris computersforpeace at gmail.com
Fri Dec 4 15:29:17 PST 2015


On Thu, Nov 19, 2015 at 07:28:39PM -0800, Brian Norris wrote:
> We can guard against reorganization of struct mtd_part by using
> container_of(). We can also make sure we're using the right pointer
> types by making this a static inline function instead of a macro.
> 
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>

Pushed to l2-mtd.git



More information about the linux-mtd mailing list