]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: fix missing checks for regmap_update_bits
authorKangjie Lu <kjlu@umn.edu>
Sun, 24 Mar 2019 23:18:56 +0000 (18:18 -0500)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 24 Apr 2019 18:15:15 +0000 (20:15 +0200)
commit11bdd77b99a923bb262fb86f46b854aefc0d5d5b
tree55197fe3c217f1cc3b8985633dbef299448794b1
parent35debe1775165b41fff952a6bb2224730fc3a277
net: ieee802154: fix missing checks for regmap_update_bits

regmap_update_bits could fail and deserves a check.

The patch adds the checks and if it fails, returns its error
code upstream.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/mcr20a.c