Linux kernel staging patches
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Ayush Mukkanwar <ayushmukkanwar@gmail.com>
Cc: dan.carpenter@linaro.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 1/3] staging: octeon: ethernet-mem: replace pr_warn with dev_warn in free functions
Date: Mon, 11 May 2026 09:56:37 +0200	[thread overview]
Message-ID: <2026051112-fanning-oversleep-5b0f@gregkh> (raw)
In-Reply-To: <20260504174146.117026-2-ayushmukkanwar@gmail.com>

On Mon, May 04, 2026 at 11:11:44PM +0530, Ayush Mukkanwar wrote:
> Add struct platform_device parameter to cvm_oct_free_hw_skbuff,
> cvm_oct_free_hw_memory and cvm_oct_mem_empty_fpa. Replace pr_warn
> calls with dev_warn, using &pdev->dev for device-aware logging.
> 
> Signed-off-by: Ayush Mukkanwar <ayushmukkanwar@gmail.com>
> ---
>  drivers/staging/octeon/ethernet-mem.c | 31 ++++++++++++++++-----------
>  drivers/staging/octeon/ethernet-mem.h |  5 ++++-
>  drivers/staging/octeon/ethernet.c     |  6 +++---
>  3 files changed, 25 insertions(+), 17 deletions(-)
> 
> diff --git a/drivers/staging/octeon/ethernet-mem.c b/drivers/staging/octeon/ethernet-mem.c
> index 532594957ebc..11036c6eb36f 100644
> --- a/drivers/staging/octeon/ethernet-mem.c
> +++ b/drivers/staging/octeon/ethernet-mem.c
> @@ -5,6 +5,7 @@
>   * Copyright (c) 2003-2010 Cavium Networks
>   */
>  
> +#include <linux/platform_device.h>
>  #include <linux/kernel.h>
>  #include <linux/netdevice.h>
>  #include <linux/slab.h>
> @@ -40,11 +41,13 @@ static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements)
>  
>  /**
>   * cvm_oct_free_hw_skbuff- free hardware pool skbuffs
> + * @pdev:      Platform device for logging

You are adding a line here, and then "fixing it" in patch 3/3 :(

Please just do it right the first time.

thanks,

greg k-h

  reply	other threads:[~2026-05-11  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-04 17:41 [PATCH v6 0/3] staging: octeon: replace pr_* with dev_* logging Ayush Mukkanwar
2026-05-04 17:41 ` [PATCH v6 1/3] staging: octeon: ethernet-mem: replace pr_warn with dev_warn in free functions Ayush Mukkanwar
2026-05-11  7:56   ` Greg KH [this message]
2026-05-04 17:41 ` [PATCH v6 2/3] staging: octeon: ethernet: replace pr_err and pr_info with dev_err and netdev_err Ayush Mukkanwar
2026-05-04 17:41 ` [PATCH v6 3/3] staging: octeon: replace pr_warn with dev_warn in fill path and refactor rx group to per-device state Ayush Mukkanwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026051112-fanning-oversleep-5b0f@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=ayushmukkanwar@gmail.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox