Message ID | 20190725193511.64274-11-andriy.shevchenko@linux.intel.com |
---|---|
State | Changes Requested |
Delegated to: | David Miller |
Headers | show |
Series | [v3,01/14] NFC: fix attrs checks in netlink interface | expand |
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Date: Thu, 25 Jul 2019 22:35:08 +0300 > The macro had never been used. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Tested-by: Sedat Dilek <sedat.dilek@gmail.com> ... > @@ -12,8 +12,6 @@ > * Copyright (C) 2012 Intel Corporation. All rights reserved. > */ > > -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt If there are any kernel log messages generated, which is the case in this file, this is used. Also, please resubmit this series with a proper header posting containing a high level description of what this patch series does, how it is doing it, and why it is doing it that way. Also include a changelog. Thank you.
On Fri, Jul 26, 2019 at 02:23:46PM -0700, David Miller wrote: > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Date: Thu, 25 Jul 2019 22:35:08 +0300 > > > The macro had never been used. > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Tested-by: Sedat Dilek <sedat.dilek@gmail.com> > ... > > @@ -12,8 +12,6 @@ > > * Copyright (C) 2012 Intel Corporation. All rights reserved. > > */ > > > > -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > If there are any kernel log messages generated, which is the case in > this file, this is used. AFAICS no, it's not. All nfc_*() macros are built on top of dev_*() ones for which pr_fmt() is no-op. If we would like to have it in that way, we rather should use dev_fmt(). > Also, please resubmit this series with a proper header posting containing > a high level description of what this patch series does, how it is doing it, > and why it is doing it that way. Also include a changelog. Will do. Thank you for review!
On Mon, Jul 29, 2019 at 12:38 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Fri, Jul 26, 2019 at 02:23:46PM -0700, David Miller wrote: > > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Date: Thu, 25 Jul 2019 22:35:08 +0300 > > > > > The macro had never been used. > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > Tested-by: Sedat Dilek <sedat.dilek@gmail.com> > > ... > > > @@ -12,8 +12,6 @@ > > > * Copyright (C) 2012 Intel Corporation. All rights reserved. > > > */ > > > > > > -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > > > If there are any kernel log messages generated, which is the case in > > this file, this is used. > > AFAICS no, it's not. > All nfc_*() macros are built on top of dev_*() ones for which pr_fmt() is no-op. > If we would like to have it in that way, we rather should use dev_fmt(). > > > > Also, please resubmit this series with a proper header posting containing > > a high level description of what this patch series does, how it is doing it, > > and why it is doing it that way. Also include a changelog. > > Will do. > > Thank you for review! > Can you send out the latest series as v5? I got some new? patches from you, but a bit confused now. - Sedat -
On Mon, Jul 29, 2019 at 4:58 PM Sedat Dilek <sedat.dilek@gmail.com> wrote: > > On Mon, Jul 29, 2019 at 12:38 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > > > On Fri, Jul 26, 2019 at 02:23:46PM -0700, David Miller wrote: > > > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > Date: Thu, 25 Jul 2019 22:35:08 +0300 > > > > > > > The macro had never been used. > > > > > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > > Tested-by: Sedat Dilek <sedat.dilek@gmail.com> > > > ... > > > > @@ -12,8 +12,6 @@ > > > > * Copyright (C) 2012 Intel Corporation. All rights reserved. > > > > */ > > > > > > > > -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > > > > > If there are any kernel log messages generated, which is the case in > > > this file, this is used. > > > > AFAICS no, it's not. > > All nfc_*() macros are built on top of dev_*() ones for which pr_fmt() is no-op. > > If we would like to have it in that way, we rather should use dev_fmt(). > > > > > > > Also, please resubmit this series with a proper header posting containing > > > a high level description of what this patch series does, how it is doing it, > > > and why it is doing it that way. Also include a changelog. > > > > Will do. > > > > Thank you for review! > > > > Can you send out the latest series as v5? > I got some new? patches from you, but a bit confused now. > Thanks for the cover-letter. - Sedat - [1] https://marc.info/?l=linux-netdev&m=156440732411578&w=2
diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c index 59b0a02a813d..307bd2afbe05 100644 --- a/drivers/nfc/nxp-nci/i2c.c +++ b/drivers/nfc/nxp-nci/i2c.c @@ -12,8 +12,6 @@ * Copyright (C) 2012 Intel Corporation. All rights reserved. */ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include <linux/acpi.h> #include <linux/delay.h> #include <linux/i2c.h>