Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp319774rdb; Tue, 31 Oct 2023 08:21:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKXkIoxl5dtvQZmUeXsVU56NjdjGAK2eV0UNPIPxhUhqmXKANnRhKjk3thpjgsSQnOKAv4 X-Received: by 2002:a05:6a00:22d3:b0:68c:638b:e2c6 with SMTP id f19-20020a056a0022d300b0068c638be2c6mr15255111pfj.9.1698765703837; Tue, 31 Oct 2023 08:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698765703; cv=none; d=google.com; s=arc-20160816; b=hq42DrnelmPQtRP8cswTOeUZQe7HeoV9ZEj8FDmWqgQszbyoaVncnuThDKOaoW7sjY ksLeV9hDlAd/J0MX8Jnn0MILKBRpgaEa83Vza3M5tqKYLYJWDdfi0dEAFfd8J6X5VK53 Oq7D0U3Vnfr2goywTog+LSvz+Tc/mq86KSqCrrngSD8HDV2SIDrzi4X7wmqW9Axv5VNv v1tjxXjfnfrwVL6HOdjpsqbLsgE2RKG7Ebf/onlSyGhyZfJRLMM1lI7R4NL9dHl8Xd9g DTqeO2jOsjCfeK/9YYIUTS33p3Tm0MVhDPbjR/qll8GzGUdsGyNKdvUExmYXrOPUulgt 8bHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=y3/TpniVvnStJnFK0bE/FQv7lHDXr4bwD/QefSKThLQ=; fh=ECB2IravyAJfiwKoqM7YlyAWZHYVU1Fvvhy7sFfYLD8=; b=copDFetNLE8Ge7wMKCVTAz6LMN3jQXJUfiGCm4nHQ1rCTQ1g4OcEGWU4NPkAzPu0aX RGCFJXNx/w/SGPvB2i83TueQ/mgyCSbcTVLSFcvPSPiv4IZlSCaP4qJ3bzW9+5n9iD2A F0tdkqUsGZjusu34AV2i+Nx1KtLVCDTBwnFQh8RIG78kybhDHUn+M9on5GZNxYRZhLgT xKn+QVz7Hjp8++Cg8NirsgCUtwpYpJEttfEDAbp7tpyakQx5biLbr74nm4DdT7VQuRpV H7oBWbXDZCbKUC3dEdjyxNR0i9cUne1OhFEnIcUwosPctNDs7h4OKS5ttvxlhMtPhs6G nwMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id c3-20020a6566c3000000b005b8a29aae85si1121133pgw.78.2023.10.31.08.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 08:21:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7EDFE802A620; Tue, 31 Oct 2023 08:21:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344781AbjJaPUV (ORCPT + 99 others); Tue, 31 Oct 2023 11:20:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344792AbjJaPUQ (ORCPT ); Tue, 31 Oct 2023 11:20:16 -0400 Received: from mx01.omp.ru (mx01.omp.ru [90.154.21.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58EFC1707; Tue, 31 Oct 2023 08:18:51 -0700 (PDT) Received: from [192.168.1.103] (178.176.75.231) by msexch01.omp.ru (10.188.4.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Tue, 31 Oct 2023 18:18:27 +0300 Subject: Re: [PATCH] pata_isapnp: Add check for devm_ioport_map To: Chen Ni , , , CC: , References: <20231031040007.2498659-1-nichen@iscas.ac.cn> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Tue, 31 Oct 2023 18:18:26 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20231031040007.2498659-1-nichen@iscas.ac.cn> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [178.176.75.231] X-ClientProxiedBy: msexch01.omp.ru (10.188.4.12) To msexch01.omp.ru (10.188.4.12) X-KSE-ServerInfo: msexch01.omp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 6.0.0, Database issued on: 10/31/2023 15:04:42 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 59 X-KSE-AntiSpam-Info: Lua profiles 181025 [Oct 31 2023] X-KSE-AntiSpam-Info: Version: 6.0.0.2 X-KSE-AntiSpam-Info: Envelope from: s.shtylyov@omp.ru X-KSE-AntiSpam-Info: LuaCore: 543 543 1e3516af5cdd92079dfeb0e292c8747a62cb1ee4 X-KSE-AntiSpam-Info: {rep_avail} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: {relay has no DNS name} X-KSE-AntiSpam-Info: {SMTP from is not routable} X-KSE-AntiSpam-Info: {Found in DNSBL: 178.176.75.231 in (user) b.barracudacentral.org} X-KSE-AntiSpam-Info: {Found in DNSBL: 178.176.75.231 in (user) dbl.spamhaus.org} X-KSE-AntiSpam-Info: omp.ru:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: ApMailHostAddress: 178.176.75.231 X-KSE-AntiSpam-Info: {DNS response errors} X-KSE-AntiSpam-Info: Rate: 59 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dmarc=temperror header.from=omp.ru;spf=temperror smtp.mailfrom=omp.ru;dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 10/31/2023 15:08:00 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 10/31/2023 12:00:00 PM X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-Spam-Status: No, score=-0.3 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 31 Oct 2023 08:21:38 -0700 (PDT) Hello! On 10/31/23 7:00 AM, Chen Ni wrote: > Add check for devm_ioport_map() and return the error if it fails in > order to guarantee the success of devm_ioport_map(). > > Fixes: 0d5ff566779f ("libata: convert to iomap") > Signed-off-by: Chen Ni Reviewed-by: Sergey Shtylyov [...] MBR, Sergey