From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01832C433EF for ; Thu, 12 May 2022 20:07:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358273AbiELUHH (ORCPT ); Thu, 12 May 2022 16:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358284AbiELUHF (ORCPT ); Thu, 12 May 2022 16:07:05 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC24965D18 for ; Thu, 12 May 2022 13:07:03 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id y19so7872315ljd.4 for ; Thu, 12 May 2022 13:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oO7C2vw614ul0mQK6BxzOvLBf+YYDu+I4LzerhhwUEU=; b=HTV3Wkh2Lp4YrH79XsJ7m0xKncbjKkXKpfJU55vortLtEMUxXdGTLCNroyEEFytiTy dB11pDocVgYUwakiYNWnPx9xXCiovqxq1mS8kxFMtFs4y9cavCyv7fkpYSyCbGcgBV0v ZMWBp2vvvkseRGrEx1+gl02Ta3LNPqo54W+zU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oO7C2vw614ul0mQK6BxzOvLBf+YYDu+I4LzerhhwUEU=; b=AMbLXpHCfg8OyOASropgDZ5v38XS74CyaVdHUr4PVsQVCVA9yudr0MD/9KQFRsx9a7 CMZhCdD315ocHU3o81pYId+TkQS8lLmXQUZAGT35UEg6t959j3bw+GL9YAOuRSOEAONI 9T6o2Sfy6PD5kvpc6KRkWrU/UgHJs8LpbxelbMmBvLk5IShKS5oYWJql0DHtPxujyVPG MgpNz5dBuIlTPasQffGoNy3pcDyrSvc45QqpAx/n50mtBH2FwV4oi8WfQ67OyP2Feeav tuMjYmjasolKTPsjge5uUafI2fY0t1uGKgpU9X996fbIolkRSdnwp3iayjgAudq88Mph c1+g== X-Gm-Message-State: AOAM531G8Q/ZZSRmr7/v6yVVLl7xRCRpXXlx8NXc4dCJmWe+QuoFcGwV S74aHPWOqV9yRZNC5bQiv++iXt0mSaizffKYO+mPHA== X-Google-Smtp-Source: ABdhPJzJlTnaa7a64N7kMzAJom5twCQHCM6va8kx+fcA1V4vXHNXxciYrh9O2VwNVkpoU2ZmYx1BNMaAtK9QlwkOL7Y= X-Received: by 2002:a2e:9993:0:b0:250:b5a9:18dc with SMTP id w19-20020a2e9993000000b00250b5a918dcmr1023327lji.364.1652386021895; Thu, 12 May 2022 13:07:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ozgur Date: Fri, 13 May 2022 00:06:51 +0400 Message-ID: Subject: Re: ERROR: drivers: net: ethernet: stmicro: stmmac: stmmac_main.c To: Test Bot , peppe.cavallaro@st.com Cc: lkml , "David S . Miller" , linux@armlinux.org.uk, linux-stm32@st-md-mailman.stormreply.com, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 12, 2022 at 11:49 PM Test Bot wrote: > > Hi, Hello, its a bot and still in beta and looks like same warning as any other findin= g. Looks like Linus e-mail Linus explained this warning and i wanted to share e-mail. https://lore.kernel.org/lkml/CAHk-=3Dwh5E-xdc5P6SfN-ey6zvVri43rTj0g8kjUBWD3= hhE-jiw@mail.gmail.com/ Regards > I automatically test (RC) kernel and caught ERROR word. > Please ignore, if its unimportant. > > Kernel: 5.18-rc6 > Arch: x86_64 (SMP) > Compiler: 7.5.0 (gcc) > FIle: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c > > Codebase Block: > > static int stmmac_request_irq_multi_msi(struct net_device *dev) > { > struct stmmac_priv *priv =3D netdev_priv(dev); > enum request_irq_err irq_err; > cpumask_t cpu_mask; > int irq_idx =3D 0; > char *int_name; > int ret; > int i; > > int_name =3D priv->int_name_mac; > sprintf(int_name, "%s:%s", dev->name, "mac"); > ret =3D request_irq(dev->irq, stmmac_mac_interrupt, > 0, int_name, dev); > > if (unlikely(ret < 0)) { > netdev_err(priv->dev, > "%s: alloc mac MSI %d (error: %d)\n", > __func__, dev->irq, ret); > irq_err =3D REQ_IRQ_ERR_MAC; > goto irq_error; > } > > if (priv->wol_irq > 0 && priv->wol_irq !=3D dev->irq) { > int_name =3D priv->int_name_wol; > sprintf(int_name, "%s:%s", dev->name, "wol"); > ret =3D request_irq(priv->wol_irq, > stmmac_mac_interrupt, > 0, int_name, dev); > > if (unlikely(ret < 0)) { > netdev_err(priv->dev, > "%s: alloc wol MSI %d (error: %d)\n", > __func__, priv->wol_irq, ret); > irq_err =3D REQ_IRQ_ERR_WOL; > goto irq_error; > } > } > > Compiler Log: > > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function > =E2=80=98stmmac_request_irq_multi_msi=E2=80=99: > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3562:1: warning: the > frame size of 1040 bytes is larger than 1024 bytes > [-Wframe-larger-than=3D]