[PATCH] gma500: Clean up errors in psb_intel_sdvo_regs.h
Jani Nikula
jani.nikula at linux.intel.com
Thu Jan 11 09:49:48 UTC 2024
On Thu, 11 Jan 2024, GuoHua Chen <chenguohua_716 at 163.com> wrote:
> Fix the following errors reported by checkpatch:
>
> ERROR: space required after that close brace '}'
>
> Signed-off-by: GuoHua Chen <chenguohua_716 at 163.com>
> ---
> 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
More information about the dri-devel
mailing list