From patchwork Thu Jan 18 20:59:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 125029 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp293859lja; Thu, 18 Jan 2018 13:00:00 -0800 (PST) X-Google-Smtp-Source: ACJfBosmo8dmC1i8bEUKPJjTf8Qemnkha3D7Zg79ZlngUVLv/hj9HeLHjtASR027nX2cDryjMMVb X-Received: by 10.99.182.6 with SMTP id j6mr21123095pgf.221.1516309200327; Thu, 18 Jan 2018 13:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516309200; cv=none; d=google.com; s=arc-20160816; b=JOr3GnikIyt7N+tx4nOChtamoNcA7l5BhYpj3StPKM6D5mPzMyrEHDoJEi32skO9bS lJ+mDhsWhQ6VjSK+AUYlUT5M5yJ+dDqHx/glWqPvcD4bgutsCPlHgpwY90/eGi6XFR48 hB4oG9t5bZw9nRFnn6a0kOpW/BVVIHyPSr9EFTSA50FQ3sN9tNU2YetEQFMy+tlg2VDf d1jrvU1D6jYJDXwQqaHja62eRVqcPyHrD7yhj//lFpef7LAvvnPi4X8IjJRtT8orPJvE 51raEUsegQgtMdHjGLN6O8UHuXLOq0+F9eY+nH2YNwKZ+aFxehKp8fj/eOzN3Skzep72 gtfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=STzox/WPbyJUvHk6JsM2fNdkcLSf85eCKAT/BSVi/uM=; b=Q2+QKAUEFdshRNg38gwIm4YqRbZ31NMI2TEHAT4GkS3H0hiw5q0FjLEdhY1XEzOZCS MLDFW8swvEYT6R0UILLR/JkoC5mZUSB/idKN/tLIdqa+u63RtiVKWyflHcblud7mPQRH z7TXIZgyU6rHYiOJr2ChMzXWb/o/5PGqvEVm1UjIloKYq2wGvZj2Ouy7PBhitm88l7Px nYMirf5Jqufcpy4lfEHlkS2X8EfJw10MlByewDxE9SqVTCAAXXX8PsEfgpKFKg+nHvU1 FeY3P9SW7vL2GIA+wE7pi+XjQsfcDY2ixolgXwEpcwcynHTaKDTdhgl8ak4ZqISZyZCj 5KzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ecwf7BnL; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c16si4933770pgu.706.2018.01.18.13.00.00; Thu, 18 Jan 2018 13:00:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ecwf7BnL; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753822AbeARU76 (ORCPT + 10 others); Thu, 18 Jan 2018 15:59:58 -0500 Received: from mail-by2nam01on0120.outbound.protection.outlook.com ([104.47.34.120]:44880 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932409AbeARU7s (ORCPT ); Thu, 18 Jan 2018 15:59:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=STzox/WPbyJUvHk6JsM2fNdkcLSf85eCKAT/BSVi/uM=; b=ecwf7BnLxSBRdpkx9w2FcCmuMYximvBG7LPRHBTyIceiZhyXVKLFocZoA74GpnMXwAlmmpa5hdUz6hCQZ6b7JH+kVLHEnVUSKmidl8nkVgRvCU3adEzzM4vrryK2B1QAoYw/vpYjdMBZLIZ5rq8jSg4lMdHLZNbWs5FldkzG2es= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1064.namprd21.prod.outlook.com (52.132.130.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.444.7; Thu, 18 Jan 2018 20:59:41 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7%2]) with mapi id 15.20.0428.008; Thu, 18 Jan 2018 20:59:41 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Arnd Bergmann , "David S . Miller" , Sasha Levin Subject: [added to the 4.1 stable tree] cpmac: remove hopeless #warning Thread-Topic: [added to the 4.1 stable tree] cpmac: remove hopeless #warning Thread-Index: AQHTkJ9AeNS8yQX1YEeGgYhOPbJ6zA== Date: Thu, 18 Jan 2018 20:59:38 +0000 Message-ID: <20180118205908.3220-29-alexander.levin@microsoft.com> References: <20180118205908.3220-1-alexander.levin@microsoft.com> In-Reply-To: <20180118205908.3220-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [167.220.98.9] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB1064; 7:5D7LmWd65WnQH0AcDs+ukYhn4FJ3N8/5Ae9F38B2Kgx1SiIUG4R9cqemr4UWqM0tdqy0MTh/jCMArM4rDsQe1XQQOymw2FU8oqIXOzODfFLQcmYwBLdDB40oBsJw5zQjOXUGd+i5ViCMINYeXGCzvL3p87sCOXYRGA86sqKNtN1MpqaVw6fiVmAVJA9IetGZjvUEswfugxItthmt961HgqHT2Q+Pge0XosXbbQA+7CkR9DTpX98Adw6d3MsfudMc x-ms-office365-filtering-correlation-id: 2061b0d8-4076-4853-b5bf-08d55eb664e7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7193020); SRVR:DM5PR2101MB1064; x-ms-traffictypediagnostic: DM5PR2101MB1064: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(20558992708506)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040495)(2401047)(5005006)(8121501046)(3231046)(2400067)(944501161)(3002001)(10201501046)(93006095)(93001095)(6055026)(61426038)(61427038)(6041282)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR2101MB1064; BCL:0; PCL:0; RULEID:(100000803126)(100110400120); SRVR:DM5PR2101MB1064; x-forefront-prvs: 05568D1FF7 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39380400002)(346002)(396003)(39860400002)(366004)(376002)(55674003)(199004)(189003)(106356001)(25786009)(68736007)(107886003)(2900100001)(26005)(105586002)(102836004)(8676002)(4326008)(6506007)(14454004)(59450400001)(76176011)(86612001)(81156014)(10090500001)(8936002)(86362001)(72206003)(81166006)(5250100002)(6346003)(2501003)(478600001)(10290500003)(99286004)(2950100002)(305945005)(53936002)(2906002)(6666003)(5660300001)(3846002)(1076002)(66066001)(6116002)(22452003)(316002)(6512007)(110136005)(54906003)(3280700002)(6436002)(3660700001)(97736004)(36756003)(7736002)(6486002)(22906009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB1064; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: mYi6ldGWNiarZui14cnhZq689GgBK79ZSu9Ge8PCxA8oN0ID1oIqrgsuCDa1KzCdveLDqvtH8tJ3rCGH+4JQ/g== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2061b0d8-4076-4853-b5bf-08d55eb664e7 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2018 20:59:38.8228 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1064 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann This patch has been added to the stable tree. If you have any objections, please let us know. -- 2.11.0 =============== [ Upstream commit d43e6fb4ac4abfe4ef7c102833ed02330ad701e0 ] The #warning was present 10 years ago when the driver first got merged. As the platform is rather obsolete by now, it seems very unlikely that the warning will cause anyone to fix the code properly. kernelci.org reports the warning for every build in the meantime, so I think it's better to just turn it into a code comment to reduce noise. Signed-off-by: Arnd Bergmann Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ti/cpmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c index dd9430043536..cf5ce371ec21 100644 --- a/drivers/net/ethernet/ti/cpmac.c +++ b/drivers/net/ethernet/ti/cpmac.c @@ -1235,7 +1235,7 @@ int cpmac_init(void) goto fail_alloc; } -#warning FIXME: unhardcode gpio&reset bits + /* FIXME: unhardcode gpio&reset bits */ ar7_gpio_disable(26); ar7_gpio_disable(27); ar7_device_reset(AR7_RESET_BIT_CPMAC_LO);