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
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
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
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
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
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/
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
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
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/
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/
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
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
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
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
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
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
16 matches
Mail list logo