commit | 938672338991ac8bef5cb025b187ab8d6230ac6c | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Wed Nov 11 16:47:52 2015 -0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Thu Nov 12 10:10:01 2015 -0800 |
tree | bea42fb1f87a4ab9910d14c82156d42d87b61b28 | |
parent | 215a02fd30871d0d888d27a3154588b66f5dbec2 [diff] |
mtd: zero out mtd_partition struct before using it It's easier to guarantee we've cleared out all unused fields with memset() than by manually initializing each field. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>