From patchwork Thu Mar 1 15:27:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 130315 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2955150edc; Thu, 1 Mar 2018 07:40:50 -0800 (PST) X-Google-Smtp-Source: AG47ELukrtmk+Kmg/LsONDsUW4PyqhQPPzl1SLVOadRyuX/xNH8x2fvoc8NVpSErrHckarCjLyud X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr2355168plb.119.1519918850268; Thu, 01 Mar 2018 07:40:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519918850; cv=none; d=google.com; s=arc-20160816; b=ynvjM9+vG+M0KoKItgiOU0T0Y88o2olYXkFj8i8Ix2acTEYyjQezlObQHKUKM3ppZf XtxwBaf6BCvr0lFoV/8M1R/XRoh6HSttacEYZjO6mDry3EvaqvIXbR2EqAIWyflOz7dt sFaIlcfZy4+tZrmg6eBcZYmbfuWnV4LT8E5E29fnciQhOli0BzIJvFtUamxVQ62WMbfD 1YpXDatKkwAGTxbmyKGDp2z9peufct9dOjGPnqP8bqk11YlH39JwV5U6x6QlPp2An7+H WTllu36Vpnu5BcbhBv6sPS++UT01XN02gif9IbKJ2aATfBYTEB/NI9286ot0UlEaHROV I3Iw== 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=SzPm4b7IzEVeVkW6Iere0dqIXiNtrO3oyToHelYs6Jk=; b=Jza8t4Y/ynf+cCw169KvUQqZKjIOnRbbHB0l13ORWY8dUttX1aQJEyMV8ZzhsT05pm pO5+AwcQcabMnIGJqyMbOTSO8xst46XV6DTgee5XiegE1osks+OLblWBnytDLr2Q5QSn feVgYHuLfJSOKI8ojIHx68AKTQ8+JCaqCd2w69Elu9Qon0AAdLt5vkdKwPSgZa8rgbF4 3EIoz9b0W7EDcaKv/sMhihULmAqouaHDGkySROjSV3q5db/TcQ84nSiIdFih6l8kQr4E 00CwxzwAniJiwUeqQJJ61KHCHaNU8hd5rvAiiziAWXt92oeR8PSualeWeYo2lv+FhsVY CJcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Mhrst3ec; 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 k9-v6si3262836plt.293.2018.03.01.07.40.50; Thu, 01 Mar 2018 07:40:50 -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=Mhrst3ec; 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 S1032582AbeCAPjF (ORCPT + 10 others); Thu, 1 Mar 2018 10:39:05 -0500 Received: from mail-cys01nam02on0121.outbound.protection.outlook.com ([104.47.37.121]:11554 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032562AbeCAPil (ORCPT ); Thu, 1 Mar 2018 10:38:41 -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=SzPm4b7IzEVeVkW6Iere0dqIXiNtrO3oyToHelYs6Jk=; b=Mhrst3ecTnl0TrUO99x8FF+tIPaqCo0JK0CsQdWGqbzUeZa7PSLtcIdnCiH5iEkxfFHtQFI+CPWnaeQeOdfAytnuPSD3G6Imb/0xQVnJMOMY0q6vCHxx33NfFcCPk3H7TwKD5avBf7BNwABVAaOO18Hcxw2IV5Eu4aBigAIJd0g= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1077.namprd21.prod.outlook.com (52.132.130.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.3; Thu, 1 Mar 2018 15:38:38 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446%2]) with mapi id 15.20.0567.006; Thu, 1 Mar 2018 15:38:38 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Arnd Bergmann , Greg Kroah-Hartman , Sasha Levin Subject: [added to the 4.1 stable tree] tty: cyclades: cyz_interrupt is only used for PCI Thread-Topic: [added to the 4.1 stable tree] tty: cyclades: cyz_interrupt is only used for PCI Thread-Index: AQHTsXHRMRgMpbzyG0OjEtnpw5Im1w== Date: Thu, 1 Mar 2018 15:27:32 +0000 Message-ID: <20180301152116.1486-472-alexander.levin@microsoft.com> References: <20180301152116.1486-1-alexander.levin@microsoft.com> In-Reply-To: <20180301152116.1486-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB1077; 7:ZxF/6HtJQ2OSmNqiV5XL3GTlMaPiUVgL3HTsU+hUZU2aK0wcwcLnR+yFybSV0TSKaShM1ZNHXz3WbWqNrrb1Lp1ItCJ/9yqDbzajnjZgENDvxhAp1P9G/1Chr//04O4pH+9uY2yINkBRONe8NT9jaeS+GZ48eR/GcAlBFRa8b5UEOCs+Zot0NAvMb4Ofnr1feh0hrPo+3mQ0rTt0fez0Uq7DhseVqnvHDgV4JeINajU5N7SEXWoHeZe6p9hEohXj x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f4fcf2c6-2798-49b7-1d95-08d57f8a8073 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:DM5PR2101MB1077; x-ms-traffictypediagnostic: DM5PR2101MB1077: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(3231220)(944501224)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:DM5PR2101MB1077; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB1077; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(39380400002)(39860400002)(396003)(366004)(189003)(199004)(81166006)(2900100001)(10090500001)(2906002)(81156014)(66066001)(8676002)(1076002)(6116002)(3846002)(105586002)(8936002)(107886003)(186003)(106356001)(478600001)(22452003)(14454004)(4326008)(68736007)(25786009)(10290500003)(102836004)(6506007)(6346003)(59450400001)(26005)(36756003)(72206003)(6512007)(53936002)(6486002)(3280700002)(6436002)(3660700001)(316002)(76176011)(110136005)(5250100002)(86362001)(54906003)(7736002)(5660300001)(2950100002)(99286004)(86612001)(2501003)(305945005)(97736004)(6666003)(22906009); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB1077; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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: kxmu5A3zRNL1kz8cwXQ7DyudlM2wzlWOH3n03n5eA7aYVwwtM3Vjr5tPmenVC8kgnCCtKVois5t9iAQ1ccAFOhzG1TUlK+c9Eh96P+zNBhuUC5daR4izTSf6tb1B/yDN2ufThinWV1qJTI5TGBZWqlAOM1EaAFq+2cTiYOc6p1I= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4fcf2c6-2798-49b7-1d95-08d57f8a8073 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 15:27:32.5248 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1077 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 4.1 stable tree. If you have any objections, please let us know. -- 2.14.1 =============== [ Upstream commit 05ead49691d245f67bdd1b30cab5d9af522ac884 ] When CONFIG_PCI is not set, enabling CONFIG_CYZ_INTR has no practical effect other than generating a warning about an unused function: drivers/tty/cyclades.c:1184:20: warning: 'cyz_interrupt' defined but not used [-Wunused-function] static irqreturn_t cyz_interrupt(int irq, void *dev_id) This adds a dependency to avoid that warning. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index c01f45095877..82c4d2e45319 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -226,7 +226,7 @@ config CYCLADES config CYZ_INTR bool "Cyclades-Z interrupt mode operation" - depends on CYCLADES + depends on CYCLADES && PCI help The Cyclades-Z family of multiport cards allows 2 (two) driver op modes: polling and interrupt. In polling mode, the driver will check