summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-05-14 20:02:44 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-05-19 15:33:47 -0400
commit6642826e23b5ef37c93fd3de080f57499d18e5ec (patch)
treeb2502a454783204b96be0bb88cfc76cb1cec3b95 /scripts/basic
parent0f01334283d82685ed2f674cdc060dc1e88bd0b3 (diff)
bcachefs: properly initialize used values
- Ensure the second key value in bch_hash_info is initialized to zero if the info type is of type BCH_STR_HASH_SIPHASH. - Initialize the possibly returned value in bch2_inode_create. Assuming bch2_btree_iter_peek returns bkey_s_c_null, the uninitialized value of ret could be returned to the user as an error pointer. - Fix compiler warning in initialization of bkey_s_c_stripe fs/bcachefs/buckets.c:1646:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct bkey_s_c_stripe new_s = { NULL }; ^~~~ Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions