commit | cf523e449e9baa86e74fcf415d233b2989eb7d9a | [log] [tgz] |
---|---|---|
author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@nordicsemi.no> | Tue Sep 29 16:21:55 2020 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Oct 02 12:06:28 2020 -0400 |
tree | 61aa5f49a4707afa221da42cdc93dd38744f6207 | |
parent | f43985e334a33628aded1ef1f8407413b1124434 [diff] |
drivers: flash: Pass bool to flash_write_protection_set() The second argument of this foonction is a bool, so passing 0 and 1 is incorrect. Coccinelle script: @@ expression e; @@ flash_write_protection_set(e, ( - 0 + false | - 1 + true ) ) Signed-off-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@nordicsemi.no>