RE: [PATCH rtw-next v5] wifi: rtl8xxxu: Use local 'dev' variable for dev_warn()

Ping-Ke Shih <[email protected]>
Newsgroups org.kernel.vger.linux-wireless,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Please plain text only.

Rafael Alejandro Díaz Cruz <[email protected]> wrote:
> There are multiple places where the dev variable would only be used once.
> I was hoping to only adjust the function calls that had &priv->udev->dev
> more than once to avoid redundancy.

I didn't get this point. As I come back to your first version [1], you
didn't mention and do this.

[1] https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

> But I'm a little confused because you mentioned in a previous patch:
> " If it is worth to do, please convert all of them. " I was hoping to
> change all the dev_warn(), dev_err(), dev_info(), dev_dbg() since they
> all use the same &priv->udev->dev but I was going to submit different
> patches for each one. Perhaps I should take another approach.
> I guess this change might not actually be worth the trouble. 

I didn't actually know your goal, so no idea if this is worth to stir
the code.

> Thanks for your patience and help with this patch. I'll put this off
> until I find something else to contribute with it. 

I dropped this from patchwork then.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.