[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 6 Jun 2019 23:57:16 +0300
From: Stanimir Varbanov <stanimir.varbanov@...aro.org>
To: Jonathan Marek <jonathan@...ek.ca>
Cc: Andy Gross <agross@...nel.org>,
David Brown <david.brown@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
"open list:QUALCOMM VENUS VIDEO ACCELERATOR DRIVER"
<linux-media@...r.kernel.org>,
"open list:QUALCOMM VENUS VIDEO ACCELERATOR DRIVER"
<linux-arm-msm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Revert "media: hfi_parser: don't trick gcc with a wrong
expected size"
Hi Jonathan,
I sent a fix for that here [1] and Mauro already taken it.
regards,
Stan
[1] https://patchwork.kernel.org/patch/10963369/
On 5.06.19 г. 23:19 ч., Jonathan Marek wrote:
> This reverts commit ded716267196862809e5926072adc962a611a1e3.
>
> This change doesn't make any sense and breaks the driver.
>
> Signed-off-by: Jonathan Marek <jonathan@...ek.ca>
> ---
> drivers/media/platform/qcom/venus/hfi_helper.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/platform/qcom/venus/hfi_helper.h b/drivers/media/platform/qcom/venus/hfi_helper.h
> index 34ea503a9842..15804ad7e65d 100644
> --- a/drivers/media/platform/qcom/venus/hfi_helper.h
> +++ b/drivers/media/platform/qcom/venus/hfi_helper.h
> @@ -569,7 +569,7 @@ struct hfi_capability {
>
> struct hfi_capabilities {
> u32 num_capabilities;
> - struct hfi_capability *data;
> + struct hfi_capability data[1];
> };
>
> #define HFI_DEBUG_MSG_LOW 0x01
> @@ -726,7 +726,7 @@ struct hfi_profile_level {
>
> struct hfi_profile_level_supported {
> u32 profile_count;
> - struct hfi_profile_level *profile_level;
> + struct hfi_profile_level profile_level[1];
> };
>
> struct hfi_quality_vs_speed {
>
Powered by blists - more mailing lists