repart: comment bare literal arguments

docs/CODING_STYLE.md asks for a /* name= */ comment whenever NULL or
another value meaning "unset" is passed to a function. Add it wherever
a bare NULL, 0, false or true is passed for a parameter with a telling
name. Mechanical, generated by tools/check-argument-comments.py --fix.
This commit is contained in:
Christian Brauner committed 2026-11-04 23:20:12 +01:00
1 parent 2379690ab2
commit 7d6dbc7e6a
1 file changed
+1 -1
+1 -1
View File
@@ -9050,7 +9050,7 @@ static int context_manifest_gpt(Context *context) {
/* Then an object for the whole image, i.e. the complete disk including the partition table */
uint8_t image_hash[SHA256_DIGEST_SIZE];
r = hash_range(fd, 0, context->total, image_hash);
r = hash_range(fd, /* offset= */ 0, context->total, image_hash);
if (r < 0)
return r;