[PATCH 3/3] PCI: use pci_*(), dev_*() and pr_*() instead of pci_printk()

2019-04-19 Thread Mohan Kumar
Replace pci_printk with pci_*, dev_*() and pr_*() to avoid checkpatch warnings. Signed-off-by: Mohan Kumar --- drivers/pci/bus.c | 3 +-- drivers/pci/pci.c | 14 +++--- drivers/pci/probe.c| 21 + drivers/pci/setup-bus.c| 15

[PATCH 2/3] PCI: Define pr_fmt() and use pr_*() instead of printk()

2019-04-19 Thread Mohan Kumar
Define a pr_fmt() macro that convert all of the explicit printk() calls into corresponding pr_*(). Signed-off-by: Mohan Kumar --- drivers/pci/bus.c | 5 - drivers/pci/pci-stub.c | 11 +-- drivers/pci/pci-sysfs.c | 3 ++- drivers/pci/pci.c | 5 +++-- drivers/pci

[PATCH 1/3] PCI: Cleanup printk logging

2019-04-19 Thread Mohan Kumar
Replace printk with pr_* to avoid checkpatch warnings. Signed-off-by: Mohan Kumar --- drivers/pci/pci-acpi.c | 11 --- drivers/pci/quirks.c | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index e1949f7..3ada026

[PATCH] drivers: cpufreq: use kstrtoul instead of obsolete simple_strtoul

2019-04-19 Thread Mohan Kumar
Replace the obsolte simple_strtoul function with kstrtoul. Signed-off-by: Mohan Kumar --- drivers/cpufreq/elanfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/elanfreq.c b/drivers/cpufreq/elanfreq.c index 03419f0..bed76da 100644 --- a/drivers/cpufreq

[PATCH] drivers: pci: Define pr_fmt() and use pr_*() instead of printk()

2019-04-18 Thread Mohan Kumar
Define a pr_fmt() macro that convert all of the explicit printk() calls into corresponding pr_*(). Signed-off-by: Mohan Kumar --- drivers/pci/pci-stub.c | 11 +-- drivers/pci/quirks.c | 10 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/pci/pci

[PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-17 Thread Mohan Kumar
As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for up to 20ms. so use usleep_range. Signed-off-by: Mohan Kumar --- drivers/iio/proximity/mb1232.c | 2 +- drivers/iio/proximity/srf08.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH] drivers: pcmcia: This patch fix the following checkpatch warning.

2019-04-16 Thread Mohan Kumar
Switch hardcoded function name with a reference to __func__ making the code more maintainable WARNING: Prefer using '"%s...", __func__' to using function's name, in a string Signed-off-by: Mohan Kumar --- drivers/pcmcia/tcic.c | 4 ++-- 1 file changed, 2 insertions

[PATCH] drivers: pci: This patch fix the following checkpatch warning.

2019-04-16 Thread Mohan Kumar
Use pr_err instead of printk WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Mohan Kumar --- drivers/pci/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/bus.c b

[PATCH] drivers: memory: This patch fix the following checkpatch warning.

2019-04-16 Thread Mohan Kumar
hen dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Mohan Kumar --- drivers/memory/omap-gpmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index f629759..685f422 100644 --- a/drivers/memory/

[PATCH] drivers: fsi: This patch fix the following checkpatch warning.

2019-04-15 Thread Mohan Kumar
As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for up to 20ms. so use usleep_range. Signed-off-by: Mohan Kumar --- drivers/fsi/fsi-master-ast-cf.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/

[RESEND] drivers/cpufreq/acpi-cpufreq.c: This fixes the following checkpatch warning

2019-04-15 Thread Mohan Kumar
WARNING: Prefer using '"%s...", __func__' to using function's name, in a string Switch hardcoded function name with a reference to __func__ making the code more maintainable Signed-off-by: Mohan Kumar --- drivers/cpufreq/acpi-cpufreq.c | 19 +-- 1 f

[PATCH] [PATCHv1] drivers: edac: This patch fix the following checkpatch warning.

2019-04-14 Thread Mohan Kumar
Use pr_warn instead of printk WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Mohan Kumar --- drivers/edac/x38_edac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

[RESEND PATCH] drivers/iio/gyro/mpu3050-core.c: This patch fix the following checkpatch warning.

2019-04-14 Thread Mohan Kumar
As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for up to 20ms. so use usleep_range. Signed-off-by: Mohan Kumar --- drivers/iio/gyro/mpu3050-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/mpu3050-core.c b/drivers/iio/gyro/mpu3

[PATCH] drivers/iio/gyro/mpu3050-core.c: This patch fix the following checkpatch warning.

2019-04-12 Thread Mohan Kumar
As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for up to 20ms. so use usleep_range. Signed-off-by: Mohan Kumar --- drivers/iio/gyro/mpu3050-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/mpu3050-core.c b/drivers/iio/gyro/mpu3

Re: [PATCH] Kdump documentation update for 2.6.20

2007-01-09 Thread Mohan Kumar M
On Tue, Jan 09, 2007 at 08:17:08PM +0530, Vivek Goyal wrote: > > Mohan, Can you please check the correctness of ppc64 specific details. > Vivek, My inputs. > > > + --append="root= init 1 irqpoll maxcpus=1" > > > + > > > +If you are using a relocatable kernel (method 2), then use > > > +follo

kernel to user space transactions

2001-05-11 Thread mohan kumar
be able to map user space buffers to kernel space(so that we can write data directly from packet capture function(registered via dev_add_pack)) so can u guys point out weather that kind of approach will work and if so where do i start looking?. thanx, Mohan Kumar S Amoeba Telecom (visit us at