Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1277043pxk; Thu, 10 Sep 2020 11:17:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdIeXwVgvLOngyQ7HpYlyjZDh0G0I/7pzPKTvD5doBn1DmWSj7ELoIn8fMNIHoCLdtXgfo X-Received: by 2002:a17:906:a1d8:: with SMTP id bx24mr9866734ejb.161.1599761852818; Thu, 10 Sep 2020 11:17:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599761852; cv=pass; d=google.com; s=arc-20160816; b=d9IK41GVjBfoK9IAqXXTxxc6ehc6SOdNLDNfJCp44dS/6UTgBMyWS9Y7095V+XfZim qJWHa7NgTbnwJTjtCM1pAd2zHhcvEzynVYdLrmT6vUjNnyppNwXVs8zUngZBGANWBYcC dZURtuXkxV4I01VbvwaCaPrVKk1TYlxDVhCbxPUt4qOdojPJjBSdK5DQco5BxdVJVuLU /T79DgLooF4ujLN9s41qMtwSYLAdWxmTFG6gY59uMEH3mCLmHtyUauy/DS3IwyApk/QQ LfPe7NiTsdZFZwRShfrAxyoKyarYuYGTHC8hFkzWa9tImrneTH/J6GkGlRBFZRHyvF3y kzjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MHjB2unu+9Et4mo9cnxLh3GBS2bINldpk93zFl43Gzk=; b=MICuwzQkI4v0PKmnAvLJrgrE1kDWEBYX0lGnw3tRCc2R/p8X2bj453alVk7OHnF2hC Wv+UOvgdndktbaRv7/hAZlFCc4a6YVngljzmP1BNuKxPiBOirenoq/jiuyU1nfHjG8d5 PsrD/PUCVm/4K7QBGkNSLD/75Fym5NB6jGIgAj2nnAI1iIdXW5PhfiyfziVQF6Ls0nUf 8WgYjJa5v8Y02bMTeXUvogvDI2CBA5kf+aYpVYxFpXqzvUN0ol1+l28eYC+OzWoUTkcD S2thhCrdtZLuYyUv7gMk7+OA7DGwUWPdVdLefc36qLSWXQf6D8g5Nm/Hz59f3cVQsd07 CS5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=IVEuEPA7; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si4039384eje.663.2020.09.10.11.17.08; Thu, 10 Sep 2020 11:17:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=IVEuEPA7; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726657AbgIJSQI (ORCPT + 99 others); Thu, 10 Sep 2020 14:16:08 -0400 Received: from mail-bn8nam12on2086.outbound.protection.outlook.com ([40.107.237.86]:23745 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726287AbgIJSO2 (ORCPT ); Thu, 10 Sep 2020 14:14:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N6oBzjH+ltOGFYRajrtU1Tmlk+jVEm/P6si+t0v7qj9T3wYCtcDjISMpmnFOcne4/UsWtVsDqXE83ViOLp7jSUHY2y18K5Vv7+hurcypnZ6S57eJMtapRLqto3JOzsZ1E3BXMUGEIyJOs6fitbbPngQFWZFTwvFPVTsnndnjqCtlfUuYixkczs8kClT7nqnt66/jK6hJWSyPIXyZZo9VNEkAkT9z0ZaF4Kbfe1vCBX3WQTLHOa7EsHHlW7mDNeLd5d7DG0S+z/V0fT2moxIL7RLyt4ERnKC6zTCuSN/fuBpEZTcj1uwsNBeFLbfbnSSXAS3KGWEIW2OxULeBMWDyYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MHjB2unu+9Et4mo9cnxLh3GBS2bINldpk93zFl43Gzk=; b=gKa/Amvm7RvLB0dhff7ewfzXOXyVbTcVOdZ5RrRkwyLliG1byH6vERq62RS4P160fj3eMaLxFpP7FZA7lOFdhv/vEgBFFVkN90zCwcBRbT4z/8xPqjFOPzFVtPV/pYdx5FMeieXhNoWn711ZUWzrSu+TLGf1/hzsbCabfjF7vRg482c35SEWkvGkXxOsVs1JocFo01OSdMKYCY4dVLeqgHE9Dj4e+GN1lSHd/+BeGq0VfL0+FW9yQ+Ca47J8YKHhqgDknQmaV/IcyRec/B7bAd+oaSudBkLNh7jFP0s9IqR+t6ITDRrfWFsEkImKcK1PeucZOSU5v1zO0QSdVXSMzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=temperror (sender ip is 149.199.60.83) smtp.rcpttodomain=ffwll.ch smtp.mailfrom=xilinx.com; dmarc=none action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MHjB2unu+9Et4mo9cnxLh3GBS2bINldpk93zFl43Gzk=; b=IVEuEPA7u40Gyu9wJ0tOyAgecrHHOlosMKJxUAUBCruBoPK+BoHpOg5ZJGxLsAb0ppjpnJihIHgU8V2Fxl/asSHVHoFz8tI5CLRs9ThXy3NvMm5VKlkhHVP+FoIkSGhyogjSjxbAhgCWAxGsFi3PATmr8F9QNbLqkgWis8xFFLc= Received: from BL0PR02CA0023.namprd02.prod.outlook.com (2603:10b6:207:3c::36) by DM6PR02MB7003.namprd02.prod.outlook.com (2603:10b6:5:255::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Thu, 10 Sep 2020 18:14:26 +0000 Received: from BL2NAM02FT010.eop-nam02.prod.protection.outlook.com (2603:10b6:207:3c:cafe::ea) by BL0PR02CA0023.outlook.office365.com (2603:10b6:207:3c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Thu, 10 Sep 2020 18:14:26 +0000 X-MS-Exchange-Authentication-Results: spf=temperror (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; ffwll.ch; dkim=none (message not signed) header.d=none;ffwll.ch; dmarc=none action=none header.from=xilinx.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of xilinx.com: DNS Timeout) Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT010.mail.protection.outlook.com (10.152.77.53) with Microsoft SMTP Server id 15.20.3370.16 via Frontend Transport; Thu, 10 Sep 2020 18:14:25 +0000 Received: from [149.199.38.66] (port=37327 helo=smtp.xilinx.com) by xsj-pvapsmtpgw01 with esmtp (Exim 4.90) (envelope-from ) id 1kGR5D-0003IK-S1; Thu, 10 Sep 2020 11:14:07 -0700 Received: from [127.0.0.1] (helo=localhost) by smtp.xilinx.com with smtp (Exim 4.63) (envelope-from ) id 1kGR5V-0002dy-Bn; Thu, 10 Sep 2020 11:14:25 -0700 Received: from [172.19.75.82] (helo=xsjsycl40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1kGR5O-0002cu-98; Thu, 10 Sep 2020 11:14:18 -0700 Received: by xsjsycl40.xilinx.com (Postfix, from userid 13638) id 4003F352C02; Thu, 10 Sep 2020 11:14:18 -0700 (PDT) Date: Thu, 10 Sep 2020 11:14:18 -0700 From: Hyun Kwon To: Jason Yan Cc: "laurent.pinchart@ideasonboard.com" , "airlied@linux.ie" , "daniel@ffwll.ch" , Michal Simek , "dri-devel@lists.freedesktop.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Hulk Robot Subject: Re: [PATCH] drm: xlnx: remove defined but not used 'scaling_factors_666' Message-ID: <20200910181418.GA3187626@xilinx.com> References: <20200910140630.1191782-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200910140630.1191782-1-yanaijie@huawei.com> Content-Transfer-Encoding: quoted-printable X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f78f61b6-73a3-402f-b8ee-08d855b559d9 X-MS-TrafficTypeDiagnostic: DM6PR02MB7003: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:923; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yQwHXJqIyAnEQ9dQ2qu+IwQKxbYxX7EbC04QDo8smL6uCD+5e00xAVMwFPmG8Iw5XpRQotE3Ji5Aa/ofwKbpowlq8lGB3ZG2gMuWDc82YiBoy+jDYMnlP9rWsIo2gMCFKNIwYXHLp8g2ltY3kh37uXtirtwc994Iuizuk4j2kG50jd0p70zb8fCpwRHCq1hJjL1Uux80AdG/JUkkzqs0wey6dgQYi212Pma3xYVS7d1qEn/EGXP19t3QtptHYO23mz8G2yAR7I2wa4W14piTQtvYFp3GA3+sT2+sdQvI6oeSvcfBlJzhnV4q3+pDexb48kioi2HYQJL6QVIwK/hC7bphGEyA+ltbCOPwhrj1oEmpk+jdaaBYyorYovYMvs6JyeHTQtEPxvUs87enXc7Mpw== X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapsmtpgw01;PTR:ErrorRetry;CAT:NONE;SFS:(396003)(39860400002)(136003)(346002)(376002)(46966005)(44832011)(81166007)(316002)(83380400001)(82740400003)(336012)(54906003)(33656002)(70206006)(2906002)(6266002)(426003)(2616005)(356005)(1076003)(26005)(8676002)(5660300002)(82310400003)(8936002)(186003)(42186006)(6916009)(478600001)(70586007)(36756003)(47076004)(63350400001)(4326008);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2020 18:14:25.7702 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f78f61b6-73a3-402f-b8ee-08d855b559d9 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-AuthSource: BL2NAM02FT010.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB7003 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jason, On Thu, Sep 10, 2020 at 07:06:30AM -0700, Jason Yan wrote: > This addresses the following gcc warning with "make W=3D1": >=20 > drivers/gpu/drm/xlnx/zynqmp_disp.c:245:18: warning: > =E2=80=98scaling_factors_666=E2=80=99 defined but not used [-Wunused-co= nst-variable=3D] > 245 | static const u32 scaling_factors_666[] =3D { > | ^~~~~~~~~~~~~~~~~~~ >=20 > Reported-by: Hulk Robot > Signed-off-by: Jason Yan Reviewed-by: Hyun Kwon Thanks! -hyun > --- > drivers/gpu/drm/xlnx/zynqmp_disp.c | 6 ------ > 1 file changed, 6 deletions(-) >=20 > diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/= zynqmp_disp.c > index a455cfc1bee5..98bd48f13fd1 100644 > --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c > +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c > @@ -242,12 +242,6 @@ static const u32 scaling_factors_565[] =3D { > ZYNQMP_DISP_AV_BUF_5BIT_SF, > }; > =20 > -static const u32 scaling_factors_666[] =3D { > - ZYNQMP_DISP_AV_BUF_6BIT_SF, > - ZYNQMP_DISP_AV_BUF_6BIT_SF, > - ZYNQMP_DISP_AV_BUF_6BIT_SF, > -}; > - > static const u32 scaling_factors_888[] =3D { > ZYNQMP_DISP_AV_BUF_8BIT_SF, > ZYNQMP_DISP_AV_BUF_8BIT_SF, > --=20 > 2.25.4 >=20