Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1476900rdd; Wed, 10 Jan 2024 23:34:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMynSuLcgjJtiIpi/Sil8ALANBv6cH8n/NPSPLFFhKFJYdzVQpQ8Qdudx8eYZmaNlBxTec X-Received: by 2002:a17:907:3c15:b0:a28:b6d9:eed1 with SMTP id gh21-20020a1709073c1500b00a28b6d9eed1mr196560ejc.206.1704958486847; Wed, 10 Jan 2024 23:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704958486; cv=none; d=google.com; s=arc-20160816; b=0CCDYTBxb//5vz5dPcVBfAN+zNQpeemk7KPjNvyxFOp+E4om0uFlG/omlayVFshHPV /46IqsUb6vPGrKgKUwgiacng/Lm3Vm7HNBHLQuoaCiFCr/Mfgvi6oevYimzJIFy1X1ai JtJ5pUr1vTTq5lntTO25Hh72QrDZtCcumWwEIFOxAoJSQ68eYEG4bMqvk7By2szPq3FD CFHf6G8+Dn0FBpDULr4+uzQry6f145WVSGhe0f/kPwX6sjlTe91Z1k/8f+VGZdGIJ8mI elyH+SyjZ1TmwTos5refIIrHH8yQpQOznPAm6wRKL1nslmPY0fIpJ+UvsqsFRL0D7DBh UfFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=S/f2vyfPnwoS0WzdX3JNLT4HQzDSAla6k7Zu1R5fNKU=; fh=R9pzOuKjA1x2Fm8jWxwfQR3nh8nRaEY1p7hYMIwNtQQ=; b=CxF8lQGjD95TOyL+LxGV4saRpFaufT2uhIZxJ2IAN1/sP9lIa5BQg4arwoSOBA+9/6 RyRxWKHqeRU28y+onhp1xn0pG8t19TMrQH1o8x1MFxIuijDMiHytlBdXDyTnBg8d7lth Pf30+9/Ml7rIDvloJq2EItwtS+E363w6yWrTmUn5TDRJGwdpGUgkKAFbB4AHtgrzNwOs 5/vWsgZ6VZ/hGOE+0H2UDHZsY+USAkQjBJTzfBEYS82BolRlA9juY4Zooet1IXjEfF/L WRbh+tQHXj5l+D99nF1seIwn85+8OMm7G4NHoMQ6yhRJf5puDItoPvuein45W2MzBWE4 0iDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=VJmoc6MS; spf=pass (google.com: domain of linux-kernel+bounces-23153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v21-20020a170906565500b00a2b1d70c301si257336ejr.970.2024.01.10.23.34.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 23:34:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=VJmoc6MS; spf=pass (google.com: domain of linux-kernel+bounces-23153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 979CA1F24397 for ; Thu, 11 Jan 2024 07:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A61DD298; Thu, 11 Jan 2024 07:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="VJmoc6MS" Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.2]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62C50D271 for ; Thu, 11 Jan 2024 07:34:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=S/f2vyfPnwoS0WzdX3 JNLT4HQzDSAla6k7Zu1R5fNKU=; b=VJmoc6MSB/ECxs9GhEKm5x1b/1LKRYgmHG Agik00T+6PRgE5+nMWX7zcPFARiRtG8OtBGizepRCElf8lexCvOBcM+KBDn0oOwt 4KJCAJpB8UC9LT8DgAho1iCY845dq5H4v9fK9/55szQAlrRfapy1c2b+xqVFB3gp 32IZGsRqc= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-3 (Coremail) with SMTP id _____wD3X+1Alp9ljIeRAA--.17433S2; Thu, 11 Jan 2024 15:18:24 +0800 (CST) From: GuoHua Chen To: alain.volmat@foss.st.com, airlied@gmail.com, daniel@ffwll.ch, mripard@kernel.org, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, GuoHua Chen Subject: [PATCH] drm/sti: Clean up errors in sti_mixer.c Date: Thu, 11 Jan 2024 07:18:23 +0000 Message-Id: <20240111071823.10142-1-chenguohua_716@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3X+1Alp9ljIeRAA--.17433S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZFW3XryfZF43Zr1kuF4Durg_yoW3Cwb_CF 47trs5Ww4YyrnrGr12ka13ZFsavr43uan5Za48tas3JrWDXr45X34kWryDXw18WFW3JFnF ya97XFy3Cr9agjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjT7KDUUUUU== X-CM-SenderInfo: xfkh0w5xrk3tbbxrlqqrwthudrp/xtbBEh5i1mVOBk4eZgAAsj Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: do not initialise statics to 0x000000 Signed-off-by: GuoHua Chen --- drivers/gpu/drm/sti/sti_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c index 7e5f14646625..6628c7f78868 100644 --- a/drivers/gpu/drm/sti/sti_mixer.c +++ b/drivers/gpu/drm/sti/sti_mixer.c @@ -16,7 +16,7 @@ #include "sti_vtg.h" /* Module parameter to set the background color of the mixer */ -static unsigned int bkg_color = 0x000000; +static unsigned int bkg_color; MODULE_PARM_DESC(bkgcolor, "Value of the background color 0xRRGGBB"); module_param_named(bkgcolor, bkg_color, int, 0644); -- 2.17.1