summaryrefslogtreecommitdiff
path: root/fs/hpfs
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-11-12 00:47:52 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2015-11-12 18:10:01 (GMT)
commit938672338991ac8bef5cb025b187ab8d6230ac6c (patch)
treebea42fb1f87a4ab9910d14c82156d42d87b61b28 /fs/hpfs
parent215a02fd30871d0d888d27a3154588b66f5dbec2 (diff)
downloadlinux-938672338991ac8bef5cb025b187ab8d6230ac6c.tar.xz
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>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions