mbox series

[net-next,0/2] octeontx2: Address some Sparse warnings

Message ID 20240903-octeontx2-sparse-v1-0-f190309ecb0a@kernel.org (mailing list archive)
Headers show
Series octeontx2: Address some Sparse warnings | expand

Message

Simon Horman Sept. 3, 2024, 4:26 p.m. UTC
Hi,

This patchset addresses some Sparse warnings that are flagged in files
touched by recent patch submissions.

Although these changes do not alter the functionality of the code, by
addressing them real problems introduced in future which are flagged by
Sparse will stand out more readily.

Compile tested only.

---
Simon Horman (2):
      octeontx2-af: Pass string literal as format argument of alloc_workqueue()
      octeontx2-pf: Make iplen __be16 in otx2_sqe_add_ext()

 drivers/net/ethernet/marvell/octeontx2/af/rvu.c        | 4 ++--
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

base-commit: 54f1a107bd034e8d9052f5642280876090ebe31c

Comments

Simon Horman Sept. 3, 2024, 4:51 p.m. UTC | #1
On Tue, Sep 03, 2024 at 05:26:52PM +0100, Simon Horman wrote:
> Hi,
> 
> This patchset addresses some Sparse warnings that are flagged in files
> touched by recent patch submissions.

Oops, I now realise that the issue addressed by patch 1/2 is
not described there as being flagged by Sparse.

I'll plan to send a v2, with an updated cover letter,
after an appropriate timeout. Any review in the meantime
would be appreciated.

> 
> Although these changes do not alter the functionality of the code, by
> addressing them real problems introduced in future which are flagged by
> Sparse will stand out more readily.
> 
> Compile tested only.
> 
> ---
> Simon Horman (2):
>       octeontx2-af: Pass string literal as format argument of alloc_workqueue()
>       octeontx2-pf: Make iplen __be16 in otx2_sqe_add_ext()
> 
>  drivers/net/ethernet/marvell/octeontx2/af/rvu.c        | 4 ++--
>  drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> base-commit: 54f1a107bd034e8d9052f5642280876090ebe31c