commit | d2e639d6ad60fc164b75462bcdf8a43331116fd8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 24 16:26:40 2020 +0300 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Jul 07 20:44:43 2020 +0200 |
tree | b749d24ab29ed2bf429bf5f2b332fb2b1da71c05 | |
parent | 91e81150d38842b58133ce1a5d70c88e8f1cf7c1 [diff] |
mtd: rawnand: ingenic: cleanup ARRAY_SIZE() vs sizeof() use The ARRAY_SIZE() is the number of elements but we want to use sizeof() here for the number of bytes. Fortunately, they are the same thing because it's an array of u8 so this has no effect on runtime. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200624132640.GC9972@mwanda