+33
−30
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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@gmail.com>