* ERROR: drivers: net: ethernet: stmicro: stmmac: stmmac_main.c
@ 2022-05-12 19:48 Test Bot
2022-05-12 20:06 ` Ozgur
0 siblings, 1 reply; 2+ messages in thread
From: Test Bot @ 2022-05-12 19:48 UTC (permalink / raw)
To: peppe.cavallaro, linux-kernel; +Cc: davem, linux, linux-stm32, bpf, ozgurk
Hi,
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 = netdev_priv(dev);
enum request_irq_err irq_err;
cpumask_t cpu_mask;
int irq_idx = 0;
char *int_name;
int ret;
int i;
int_name = priv->int_name_mac;
sprintf(int_name, "%s:%s", dev->name, "mac");
ret = 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 = REQ_IRQ_ERR_MAC;
goto irq_error;
}
if (priv->wol_irq > 0 && priv->wol_irq != dev->irq) {
int_name = priv->int_name_wol;
sprintf(int_name, "%s:%s", dev->name, "wol");
ret = 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 = REQ_IRQ_ERR_WOL;
goto irq_error;
}
}
Compiler Log:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function
‘stmmac_request_irq_multi_msi’:
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=]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ERROR: drivers: net: ethernet: stmicro: stmmac: stmmac_main.c
2022-05-12 19:48 ERROR: drivers: net: ethernet: stmicro: stmmac: stmmac_main.c Test Bot
@ 2022-05-12 20:06 ` Ozgur
0 siblings, 0 replies; 2+ messages in thread
From: Ozgur @ 2022-05-12 20:06 UTC (permalink / raw)
To: Test Bot, peppe.cavallaro; +Cc: lkml, David S . Miller, linux, linux-stm32, bpf
On Thu, May 12, 2022 at 11:49 PM Test Bot <zgrieee@gmail.com> wrote:
>
> Hi,
Hello,
its a bot and still in beta and looks like same warning as any other finding.
Looks like Linus e-mail Linus explained this warning and i wanted to
share e-mail.
https://lore.kernel.org/lkml/CAHk-=wh5E-xdc5P6SfN-ey6zvVri43rTj0g8kjUBWD3hhE-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 = netdev_priv(dev);
> enum request_irq_err irq_err;
> cpumask_t cpu_mask;
> int irq_idx = 0;
> char *int_name;
> int ret;
> int i;
>
> int_name = priv->int_name_mac;
> sprintf(int_name, "%s:%s", dev->name, "mac");
> ret = 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 = REQ_IRQ_ERR_MAC;
> goto irq_error;
> }
>
> if (priv->wol_irq > 0 && priv->wol_irq != dev->irq) {
> int_name = priv->int_name_wol;
> sprintf(int_name, "%s:%s", dev->name, "wol");
> ret = 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 = REQ_IRQ_ERR_WOL;
> goto irq_error;
> }
> }
>
> Compiler Log:
>
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function
> ‘stmmac_request_irq_multi_msi’:
> 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=]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-12 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 19:48 ERROR: drivers: net: ethernet: stmicro: stmmac: stmmac_main.c Test Bot
2022-05-12 20:06 ` Ozgur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).