Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2391184ioo; Sat, 28 May 2022 12:09:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7wIjfXnGsXF6KEr65winfLPD05VQdalWKilwAC0OBB2GLZmOBMeLAKvY9sTLQWeSTKHuV X-Received: by 2002:a17:90a:4a0b:b0:1df:7168:9888 with SMTP id e11-20020a17090a4a0b00b001df71689888mr14807789pjh.16.1653764997481; Sat, 28 May 2022 12:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653764997; cv=none; d=google.com; s=arc-20160816; b=xjzNuKGWnH0FNw9wTCyafr9a2uJ9bS+2k1siMm18p13xYVieZ1LTzHjHE0jtPA7J0q 0ELR98kDp10jteQyMbiL5RFb+H24G3Clauy1ZbuxW2PjXQdRlXK72NYN1LvU/EzU1bE7 rGIyRY3ZRTLgqdRpsLzlP1wf9vfJGAMOrimxy3yj5GtFUIR0gc9/TKp5WqRjjDSqo9L5 fq9MnP7vE8fluhmFqcu7SFekRZwMs5CYy+ICRJpnNqz+r2QxI3KjAhIa0GrhTsRCASoX 14xZY4kKgRIoc+hkr1a8CTvv1cPlKuWhubK9bGSvHJKlIgYbkplrs3lxSj7iF+pKOspI VlKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7P5oDoh38E42RGfrqySUB0kVTg0ww7+WogCGpCcFpoY=; b=YKg2/d/mY9a71LOzotyyb4BkHT6YWX1V/K9RnZXkphBROZSgTtlAvJ7xEK9bCUA2/x 1hb9EV+BJ41BT3l5HyCW2gizFOjcaXL0aVulIlkA0S7JFnQFTC45bs/pFaVUDUDcnnGy MvfAqI80hItolF/dASsRpN/WIE8V2AyBQiVhHmh+SCL/uwy/NpbCaWw6hj5DR/Hmi8+B k9+LU6xlkG43brTwgq8cqG0SrYWKcwSaCgCTNJcsbJQp/PWltZsS5Td4dPnSXN11VSLM u5r9+7joi02IC0kyjTyiZlWxC6wDJG/V1UJSJWQkQGQMtkj/Lb38wvqf2bhG4JxAqlum +oZg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ls16-20020a17090b351000b001c361252184si8245454pjb.141.2022.05.28.12.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 12:09:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 448583FDB4; Sat, 28 May 2022 11:47:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbiE1HgF (ORCPT + 99 others); Sat, 28 May 2022 03:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbiE1HgD (ORCPT ); Sat, 28 May 2022 03:36:03 -0400 Received: from isilmar-4.linta.de (isilmar-4.linta.de [136.243.71.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6514F286FD for ; Sat, 28 May 2022 00:36:02 -0700 (PDT) X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from owl.dominikbrodowski.net (owl.brodo.linta [10.2.0.111]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 1E36C20000E; Sat, 28 May 2022 07:36:00 +0000 (UTC) Received: by owl.dominikbrodowski.net (Postfix, from userid 1000) id 9A242807BE; Sat, 28 May 2022 09:26:19 +0200 (CEST) Date: Sat, 28 May 2022 09:26:19 +0200 From: Dominik Brodowski To: cgel.zte@gmail.com Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Minghao Chi , Zeal Robot Subject: Re: [PATCH] pcmcia: Use platform_get_irq() to get the interrupt Message-ID: References: <20220309053732.2081252-1-chi.minghao@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309053732.2081252-1-chi.minghao@zte.com.cn> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Wed, Mar 09, 2022 at 05:37:32AM +0000 schrieb cgel.zte@gmail.com: > From: Minghao Chi > > It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ) > for requesting IRQ's resources any more, as they can be not ready yet in > case of DT-booting. > > platform_get_irq() instead is a recommended way for getting IRQ even if > it was not retrieved earlier. > > It also makes code simpler because we're getting "int" value right away > and no conversion from resource to int is required. > > Reported-by: Zeal Robot > Signed-off-by: Minghao Chi Applied to the pcmcia tree. Thanks, Dominik