Bug 218375

Summary: warning compiling siw_tx_hdt: the frame size of 1040 bytes is larger than 1024 bytes
Product: Drivers Reporter: sander44 (ionut_n2001)
Component: Infiniband/RDMAAssignee: drivers_infiniband-rdma
Status: RESOLVED ANSWERED    
Severity: normal CC: aros
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: 6.7 Subsystem:
Regression: No Bisected commit-id:

Description sander44 2024-01-14 16:10:23 UTC
Hi Kernel Team,

I notice today this:
drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt': 
drivers/infiniband/sw/siw/siw_qp_tx.c:677:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] 
 677 | } 
     | 

I use latest kernel 6.7 and this is happened when compiling kernel with GCC - gcc (Debian 13.2.0-9) 13.2.0.
Comment 1 Artem S. Tashkinov 2024-01-14 17:17:48 UTC
There's no point reporting this.

You either send a patch fixing this or the respective developer has already seen the warning and perfectly knows about the issue.
Comment 2 leon 2024-01-15 08:37:01 UTC
+ Bernard

On Sun, Jan 14, 2024 at 04:10:23PM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=218375
> 
>             Bug ID: 218375
>            Summary: warning compiling siw_tx_hdt:  the frame size of 1040
>                     bytes is larger than 1024 bytes
>            Product: Drivers
>            Version: 2.5
>           Hardware: All
>                 OS: Linux
>             Status: NEW
>           Severity: normal
>           Priority: P3
>          Component: Infiniband/RDMA
>           Assignee: drivers_infiniband-rdma@kernel-bugs.osdl.org
>           Reporter: ionut_n2001@yahoo.com
>         Regression: No
> 
> Hi Kernel Team,
> 
> I notice today this:
> drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt': 
> drivers/infiniband/sw/siw/siw_qp_tx.c:677:1: warning: the frame size of 1040
> bytes is larger than 1024 bytes [-Wframe-larger-than=] 
>  677 | } 
>      | 
> 
> I use latest kernel 6.7 and this is happened when compiling kernel with GCC -
> gcc (Debian 13.2.0-9) 13.2.0.
> 
> -- 
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You are watching the assignee of the bug.
Comment 3 BMT 2024-01-15 12:52:17 UTC
> -----Original Message-----
> From: Leon Romanovsky <leon@kernel.org>
> Sent: Monday, January 15, 2024 9:37 AM
> To: bugzilla-daemon@kernel.org; Bernard Metzler <BMT@zurich.ibm.com>
> Cc: linux-rdma@vger.kernel.org
> Subject: [EXTERNAL] Re: [Bug 218375] New: warning compiling siw_tx_hdt: the
> frame size of 1040 bytes is larger than 1024 bytes
> 
> + Bernard
> 
> On Sun, Jan 14, 2024 at 04:10:23PM +0000, bugzilla-daemon@kernel.org wrote:
> > INVALID URI REMOVED
> 3A__bugzilla.kernel.org_show-5Fbug.cgi-3Fid-
> 3D218375&d=DwIBAg&c=jf_iaSHvJObTbx-siA1ZOg&r=2TaYXQ0T-
> r8ZO1PP1alNwU_QJcRRLfmYTAgd3QCvqSc&m=8rU6MxAsgH64SIMQ9rtbTKTrT94qzB4wqOTbWX
> r0BGU7eoeTjP30eTw7umaBSN2R&s=GxL8sVVJdUm-lERltuDAk94Xi3XTvLtvjgcpuORCajg&e=
> >
> >             Bug ID: 218375
> >            Summary: warning compiling siw_tx_hdt:  the frame size of 1040
> >                     bytes is larger than 1024 bytes
> >            Product: Drivers
> >            Version: 2.5
> >           Hardware: All
> >                 OS: Linux
> >             Status: NEW
> >           Severity: normal
> >           Priority: P3
> >          Component: Infiniband/RDMA
> >           Assignee: drivers_infiniband-rdma@kernel-bugs.osdl.org
> >           Reporter: ionut_n2001@yahoo.com
> >         Regression: No
> >
> > Hi Kernel Team,
> >
> > I notice today this:
> > drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt':
> > drivers/infiniband/sw/siw/siw_qp_tx.c:677:1: warning: the frame size of
> 1040
> > bytes is larger than 1024 bytes [-Wframe-larger-than=]
> >  677 | }
> >      |
> >
> > I use latest kernel 6.7 and this is happened when compiling kernel with
> GCC -
> > gcc (Debian 13.2.0-9) 13.2.0.
> >
> > --
> > You may reply to this email to add a comment.
> >
> > You are receiving this mail because:
> > You are watching the assignee of the bug.

Thanks Leon, OK I'll fix that.

Bernard