Message ID | 20210115101126.9668-1-colin.king@canonical.com |
---|---|
State | Accepted |
Commit | c5b14df7a80acadbbd184808dc3f519fbb2ab96c |
Headers | show |
Series | [next] media: venus: Fix uninitialized variable count being checked for zero | expand |
diff --git a/drivers/media/platform/qcom/venus/hfi_parser.c b/drivers/media/platform/qcom/venus/hfi_parser.c index 2c63988cb321..7263c0c32695 100644 --- a/drivers/media/platform/qcom/venus/hfi_parser.c +++ b/drivers/media/platform/qcom/venus/hfi_parser.c @@ -232,7 +232,7 @@ static int hfi_platform_parser(struct venus_core *core, struct venus_inst *inst) { const struct hfi_platform *plat; const struct hfi_plat_caps *caps = NULL; - u32 enc_codecs, dec_codecs, count; + u32 enc_codecs, dec_codecs, count = 0; unsigned int entries; if (inst)