[RAMEN9610-21380]HID: hiddev: do cleanup in failure of opening a device
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / scripts / Kbuild.include
index 020097eef3c6c105151beb6fce6d6e9021fd7930..1f2f528b7f23328caa95f3193901542491cb3fcd 100644 (file)
@@ -450,3 +450,6 @@ endif
 endef
 #
 ###############################################################################
+
+# delete partially updated (i.e. corrupted) files on error
+.DELETE_ON_ERROR: