Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1947212rwb; Wed, 26 Jul 2023 23:02:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXIeyz3A1GneJFpYFqhtCjwjkZgAWmM9OJ3BiIYpkKAeiC0qfrWn1er30Jw21jAN1r1ADX X-Received: by 2002:a17:906:76d4:b0:994:1806:fb96 with SMTP id q20-20020a17090676d400b009941806fb96mr1008311ejn.16.1690437739074; Wed, 26 Jul 2023 23:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690437739; cv=none; d=google.com; s=arc-20160816; b=uk8mJaFL7mqh33BMjL9oHr6jzvYoa43gGp2sKARuOenB3soa0q76q1gN1db3G+yOcu OTT5c5TjwuNsqxP+t+c1DCNkW4UCJRE+Gb9aEr8OtPCraTIsOQUmlzTH6H2UQGTkgclF J63duTzbtZRG6o8PBzhlRFpO46Tfu45ZaV2fdACZB/yUhOwJRlt7qJPqyXK4wzJLzQRQ wcqg39HBtp38wSs7EPq/rZEYG4gHwKQudXmHhBEFLFrP4EVdnSiVH9QrtzVpVF/qJopB gRhy1Gt0glIxAFNY+9m8irmKC0jwWNDgrwmNH7APf9TEWC/Fh7EqRfiq9dTN3wgBSq4P 58mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EjWeTmshW9b7tciVrlbg2N18mlV88oSOvDpzyfZWagA=; fh=/PeU3Te/fzEtiRVKTi5tZVPY/uIkNYR0/06KDaqgGzQ=; b=KVV4IVmQXXhKbWqPdwGal9hUxU1uAV9UWo4BXcXViLrGrVaN6IS09+6ZhZupHB/pmC 1/53pYyGKMeYecT34RpClVFp9O9a9CTtR4V+INYrkA1HU2tbD/pXfdMbQ8rndALAXD8X Vh7uTNqHZz70WrF5D9n9SwcqmYKyAefHaX27PFoyGSH3YeyLmuXTSOOqKOZ4je1hHLWt XG/F4OolX/dIp83E76B0A36Rm9XpsLH8nwSSqhAgv9hIgpQQBTIjVE7hA5EehSbLrxhd TRg4W24SsWjYZQCmvVJlY/lQbQHQ9Hn7Ms1hypNq2/nzIkP8nNMKDrtRVikgadqBTkqZ pUXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=QXRpeQZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z12-20020a170906074c00b0099302221714si492411ejb.790.2023.07.26.23.01.54; Wed, 26 Jul 2023 23:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=QXRpeQZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229555AbjG0Fif (ORCPT + 99 others); Thu, 27 Jul 2023 01:38:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232356AbjG0FiF (ORCPT ); Thu, 27 Jul 2023 01:38:05 -0400 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4E5635B1 for ; Wed, 26 Jul 2023 22:37:17 -0700 (PDT) Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3a3e1152c23so520051b6e.2 for ; Wed, 26 Jul 2023 22:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1690436169; x=1691040969; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EjWeTmshW9b7tciVrlbg2N18mlV88oSOvDpzyfZWagA=; b=QXRpeQZw8Gxer8E08fLZUMXwYVcxetcdR8vREY7f6yZOYu0sOS7drUt+68Xzz6/nEN fvlrJQW4Oj1UuL1T7TyQgwD10wVS1a8//CZ1lHoA4uC5FSvLp8WOTayLz+Rd9W6O1QiZ hSV+oGTPT5KgkXn9YPxk6m4/9lEBFkmTBW7zK/hdwLkiUkOqc9zv/Z8k1XbwOi9xaysf D6BmmQILqpH1L4fh5TaKaWkkoKomfdLVWhaoCG78dPnzyFyvydmybRoI+CqVzabwojHh vTSJuutm3J3LDdp/1jy85bMv4PoGVcO5apmTxZHBTtJ2QMDAhJ2R8u00YvRcao1an3E0 7tkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690436169; x=1691040969; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EjWeTmshW9b7tciVrlbg2N18mlV88oSOvDpzyfZWagA=; b=kBOQbTrv6AlLs8q6r3xWVaa5xJ0ozExeo2vg9WMzfMvzPFqEDCErvtiDnTwyj+Lp4A nCBlSZpHTa/nKQm2EsaZ8ZoUX6qyzGy1ZRXFvXfpsS4w6w22MX9HNcnPjTV68I3sNHY9 bxESuotEAScB8+4LKIQhg/dm3b6cl4i3O6/vsEewlCtdoufmN5bkn8/yrucHpu6pYK2Q pd3Cb2YKbLkRkc1YI4cqSSQ73qxuS3/2On+yF+fcMpu7QbOigB/ZILFJj5gmqVAl8oHZ pHUnp8PThYd/z37QHq7zShyxHAIQEmarvxyAZjwglHxMSYNmpxKVrsU7MTETYk4AUbn0 /nPg== X-Gm-Message-State: ABy/qLZ/7Avu+vv2RYCJUQ2nJqL54jsQJLaZrsyzJ5ZQlpt4zqSsSdXE sWImDIc45uwfJjmr03QDgK/N2BlLJRJAxHvX+iRz0xLC X-Received: by 2002:a05:6808:1997:b0:3a4:3b56:6a4c with SMTP id bj23-20020a056808199700b003a43b566a4cmr2226626oib.50.1690436169598; Wed, 26 Jul 2023 22:36:09 -0700 (PDT) Received: from [10.0.2.15] ([82.78.167.79]) by smtp.gmail.com with ESMTPSA id n4-20020a637204000000b0054fe7736ac1sm487874pgc.76.2023.07.26.22.36.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jul 2023 22:36:09 -0700 (PDT) Message-ID: <6bea2a28-7d99-d459-d18a-182709ba027b@tuxon.dev> Date: Thu, 27 Jul 2023 08:35:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 04/30] usb: ohci-at91: Remove redundant msg at probe time Content-Language: en-US To: Yangtao Li , Alan Stern , Greg Kroah-Hartman , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230726113816.888-1-frank.li@vivo.com> <20230726113816.888-4-frank.li@vivo.com> From: claudiu beznea In-Reply-To: <20230726113816.888-4-frank.li@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.07.2023 14:37, Yangtao Li wrote: > platform_get_irq() directly prints error information. > > Signed-off-by: Yangtao Li Reviewed-by: Claudiu Beznea > --- > drivers/usb/host/ohci-at91.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c > index f957d008f360..439d8a16d7c5 100644 > --- a/drivers/usb/host/ohci-at91.c > +++ b/drivers/usb/host/ohci-at91.c > @@ -190,10 +190,8 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver, > int irq; > > irq = platform_get_irq(pdev, 0); > - if (irq < 0) { > - dev_dbg(dev, "hcd probe: missing irq resource\n"); > + if (irq < 0) > return irq; > - } > > hcd = usb_create_hcd(driver, dev, "at91"); > if (!hcd)