Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp628430imm; Fri, 21 Sep 2018 05:52:52 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaujt1+/ALSisOVJBqqiLsq3zaKZmaRcKv+XAJgfDMTF34Va72RbmCXqG1M4UaFAQorW7R9 X-Received: by 2002:a62:1b41:: with SMTP id b62-v6mr22832136pfb.172.1537534372154; Fri, 21 Sep 2018 05:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537534372; cv=none; d=google.com; s=arc-20160816; b=CRm8VbX1Y6QEuUoGAdOPZXj5RSzyKZVTCXXW1rEjINqlhfIwtY8F57NUsHVKA8Wk5v uDBb2ynG8vW2dvNCL1a2vId5TkxlFRwqlMrt/w8G05Gm9vUxGXr4doyEu4vCgdAeirKR o2th6zIydKvXzk5l52UbqCcyvdXt7fQTIQfvk0njb2na5w4nPxCXTBwnqru/O16a0rvo OVx1Pa3Lp/5C8naFhjKPce9BHeOzAmxE8mlEmwCFTI2Bp0h03Su39YX58sQoW7WBoS0G vjkrCgftXb2FEnRrGymxFTlDuejvOIsMAbMjM7Gh1MCBv/AyeIgxCko8iuf0wOufNlAt Jxuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=905rlsgBX8x3okuw9KgoB78U5c3IZ7E9OBPAfbo0oxw=; b=aqQDRuS8Ki5WYLhaLsN90hwBKRsLdvz20Num6OxE2ni9iIqAG2RlGA9S+gZ75nQ0tr 9ZjsD0xyvjn1DW0ywIulQVQ2N3dysx4SVasPg3rK67bnQxhT6Qp0txncvmkXtNithWb6 xQo2IPl6Q6EJDpUIPEFvuiZkW619oM5vwxBnmYZ8395O0QSzVwqAtfj59Eyl3jE2jSka zu6TG9GbFtpZ1dUdaj8ZxuV/TpDXcMMrDaYuXGJdSeROhUxCBCjtUuGfbSCDGBXVVOth VRtaDgXjbWC5o20L2L72Zl/ezwzsXK9Nx6WgaUDBEq/h4/r1YJd5fUHIIqoJkSDSW613 p8Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f186-v6si29665172pfa.336.2018.09.21.05.52.36; Fri, 21 Sep 2018 05:52:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389879AbeIUSlO (ORCPT + 99 others); Fri, 21 Sep 2018 14:41:14 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12671 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727697AbeIUSlO (ORCPT ); Fri, 21 Sep 2018 14:41:14 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 6541F60820233; Fri, 21 Sep 2018 20:52:23 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.399.0; Fri, 21 Sep 2018 20:52:23 +0800 From: zhong jiang To: , CC: , , Subject: [PATCH] ISDN: Should use request_mem_region instead of request_region Date: Fri, 21 Sep 2018 20:40:00 +0800 Message-ID: <1537533600-44391-1-git-send-email-zhongjiang@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In this case, Obviously, we should use request_mem_region to handle. hence just replace the function. Signed-off-by: zhong jiang --- drivers/isdn/hisax/isurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hisax/isurf.c b/drivers/isdn/hisax/isurf.c index 53e299b..ebf49f0 100644 --- a/drivers/isdn/hisax/isurf.c +++ b/drivers/isdn/hisax/isurf.c @@ -263,7 +263,7 @@ int setup_isurf(struct IsdnCard *card) cs->hw.isurf.reset); return (0); } - if (!request_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE, "isurf iomem")) { + if (!request_mem_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE, "isurf iomem")) { printk(KERN_WARNING "HiSax: Siemens I-Surf memory region " "%lx-%lx already in use\n", cs->hw.isurf.phymem, -- 1.7.12.4