commit | b9504247a6eb2bd68e3f620ca1f3fbe7309123ea | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Sun Jun 25 20:22:57 2017 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Jul 07 17:57:59 2017 -0700 |
tree | 823b3a82ef5d9a6ab5cd2b0779779b373719d009 | |
parent | c169e3d3c049d93929a92f909a4b80ba0f85a3c3 [diff] |
mtd: Fix check in mtd_unpoint() The code checks that ->_point is not NULL, but we should actually check ->_unpoint value which is dereferenced a few lines after the check. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>