Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1531524rdd; Thu, 11 Jan 2024 01:51:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGl7ct32fBZ7nw9r7QmZNgs8RvSZ4PwcP7Z0tB/96Z1++NoU2bkkQpcO9LIe4KV0bEA1L6 X-Received: by 2002:a17:902:db04:b0:1d4:de76:ce69 with SMTP id m4-20020a170902db0400b001d4de76ce69mr861075plx.8.1704966717013; Thu, 11 Jan 2024 01:51:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704966717; cv=none; d=google.com; s=arc-20160816; b=eFtrwPIHFnhnLtUaaJOfDZQv5/2iufaiMOAKOTQrWsOXxOvyBo+Dq8jzJdkJRrYPXz FsLTV4bBmKpMfNFfkKJtd99Pi6LsqCFMyciX6ClD3cHkmgxiuZjdw0w/sfNOs/47ZXAz LfzSbzGiPJmSO0oDX5bldcnzfstr7nHTYyQ3npRZIIi0TvKvfhfP92V1lCwhThFBKXfI s6vpuH6B35MipST+yYnE6wLu3CTvH5eZoXScUfiC6EM2gv8qUH/YC6DU9tRWzuD2PaX0 x4tepnKc6urUccsEPg+L7UzFE9q5OV1IzpsiCxBHgdzkQ+5agEUrHmJLznE3dAUIranU yRRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=TGnwrMvzpRs4FA1HvvqFWK2nk/q2EEE54J8Qcv+lSLA=; fh=UBOqcSz/2+Xm8eB9LfZRa4SU0LkGhVHuWCmrlg3UVaQ=; b=smGbhiPn31pa4g3waR/jmcFWAd/LKfg+jSUM27mV1DAETRJqPNvm/fHN/LQg0DmI3o QRRhfe/Oe5Vx5yHBB/oKUkcjSfiIzE9u2Qnogx9f2ZSeJP3i8snrAdIOt6oFSYr1Kdow kLq0Uvr+sItz+nS4lD0HVxD1mEl5DsEnEJkEoKc8vEOLdijX/PigzpSRHdtt+TrQ5r1E JC7JsOGlFZcjwBkFPjN0eAMxJ0s32jG9hymo5dVaLWzpg1sZKATCQnuGEy4W7I0lKCph bkswI9Jw6CEXwaJ+yEz08VM5KBvKiCyrTGV9E7eRiQAm5Z74Ov7yVEINyjOn3YpiTibV qThg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TVI5MbJ8; spf=pass (google.com: domain of linux-kernel+bounces-23336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g12-20020a63110c000000b005ce00d0b889si721696pgl.563.2024.01.11.01.51.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 01:51:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TVI5MbJ8; spf=pass (google.com: domain of linux-kernel+bounces-23336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 960AFB2112F for ; Thu, 11 Jan 2024 09:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9113A11CA3; Thu, 11 Jan 2024 09:49:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="TVI5MbJ8" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E30011722 for ; Thu, 11 Jan 2024 09:49:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704966596; x=1736502596; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=tAsm8yoR5IypZ9Vanz2h/n8ymc/BnOwePGQki51WXUc=; b=TVI5MbJ8fT1LPauScwxjT98ysYAdO/aSXP4BODAGsKfTWZW3HmTbwlft KnMkl32k5RIyfBZFjGK06B85jhlk4AmzDkFuQEl8bT6a6SlY9dKrtyQUE NyEAEkM3MH/AYDZTKpxcDzD6Qvne9TScmvYu3kenGHKbV3Zrv4ftiUqQR sSVoq+Z1Ht0neJ/mkA4aaGvJoIVIZjDPsqIGCsE5ypz8CT5Mo4t5tPz+H 3BE5u5bWOcJgZ+yiWQDr7VhF/mo/kH/yZHooI/X5f7IDqa0EuxYBmvlOn jfTP+3rdMkq+b++SoAHd+vA5Avp8dw4EkpzVw6k91rWMnO1LsOr4dsA8O g==; X-IronPort-AV: E=McAfee;i="6600,9927,10949"; a="12284063" X-IronPort-AV: E=Sophos;i="6.04,185,1695711600"; d="scan'208";a="12284063" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2024 01:49:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10949"; a="1113781983" X-IronPort-AV: E=Sophos;i="6.04,185,1695711600"; d="scan'208";a="1113781983" Received: from gaertgee-mobl.ger.corp.intel.com (HELO localhost) ([10.252.54.206]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2024 01:49:51 -0800 From: Jani Nikula To: GuoHua Chen , tzimmermann@suse.de, airlied@gmail.com, maarten.lankhorst@linux.intel.com, daniel@ffwll.ch, mripard@kernel.org, patrik.r.jakobsson@gmail.com Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, GuoHua Chen Subject: Re: [PATCH] gma500: Clean up errors in psb_intel_sdvo_regs.h In-Reply-To: <20240111070720.9602-1-chenguohua_716@163.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240111070720.9602-1-chenguohua_716@163.com> Date: Thu, 11 Jan 2024 11:49:48 +0200 Message-ID: <87edeourlv.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, 11 Jan 2024, GuoHua Chen wrote: > Fix the following errors reported by checkpatch: > > ERROR: space required after that close brace '}' > > Signed-off-by: GuoHua Chen > --- > 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