2024-01-11 09:51:57

by Jani Nikula

[permalink] [raw]
Subject: Re: [PATCH] gma500: Clean up errors in psb_intel_sdvo_regs.h

On Thu, 11 Jan 2024, GuoHua Chen <[email protected]> wrote:
> Fix the following errors reported by checkpatch:
>
> ERROR: space required after that close brace '}'
>
> Signed-off-by: GuoHua Chen <[email protected]>
> ---
> drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> index 600e79744d68..e358a6b1bcce 100644
> --- a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> +++ b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> @@ -666,7 +666,7 @@ struct psb_intel_sdvo_enhancement_limits_reply {
> #define SDVO_CMD_SET_TV_LUMA_FILTER 0x79
> struct psb_intel_sdvo_enhancements_arg {
> u16 value;
> -}__attribute__((packed));
> +} __attribute__((packed));

__packed is preferred over __attribute__((packed)) anyway...

BR,
Jani.



>
> #define SDVO_CMD_GET_DOT_CRAWL 0x70
> #define SDVO_CMD_SET_DOT_CRAWL 0x71

--
Jani Nikula, Intel