Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: Joe Perches
---
arch/blackfin/mach-bf537/boards/stamp.c |2 +-
arch/c6x/kernel/soc.c |2 +-
arch/mips/ar7/platform.c|4 ++--
arch/mips/powertv/powertv_setup.c
net-next commit ad7eee98be ("etherdevice: introduce eth_broadcast_addr")
added a new style API. Rename random_ether_addr to eth_random_addr to
create some API symmetry.
Joe Perches (8):
etherdevice: Rename random_ether_addr to eth_random_addr
ethernet: Use eth_random_addr
net
On Thu, 2012-08-16 at 15:17 +0200, Geert Uytterhoeven wrote:
> In v3.6-rc1 UML, I see spurious "^A" (ASCII 1, SOH) characters in some kernel
> messages:
>
> Calibrating delay loop... 4640.76 BogoMIPS (lpj=23203840)
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 256
> ^ACh
On Sun, 2012-09-09 at 10:33 +0200, Geert Uytterhoeven wrote:
> Ping?
Richard? Are you going to pick up this patch?
It seems sensible.
Geert, I suggest sending it directly to Linus as a fix
if Richard doesn't respond in a few days.
> On Thu, Aug 16, 2012 at 8:15 PM, Geert Uytterhoeven
> wrote:
On Sat, 2012-09-29 at 19:07 +0200, Geert Uytterhoeven wrote:
> Since commit 9429ec96c2718c0d1e3317cf60a87a0405223814 ("um: Preinclude
> include/linux/kern_levels.h") the non-prefixed printk() level specifiers
> are usable for the user parts of UML.
Thanks Geert.
---
On Sat, 2012-09-29 at 19:07 +0200, Geert Uytterhoeven wrote:
> Since commit 9429ec96c2718c0d1e3317cf60a87a0405223814 ("um: Preinclude
> include/linux/kern_levels.h") the non-prefixed printk() level specifiers
> are usable for the user parts of UML.
Thanks here too.
> diff --git a/arch/um/os-Linux
*)
ipv4_addr_(__be32)
ipv6_addr_(const struct in6_addr *)
Add temporary backward compatibility #defines for the old names too.
Joe Perches (21):
etherdevice: Rename is__ether_addr tests to eth_addr_
net: Convert is__ether_addr uses to eth_addr_
arch: Convert is__ether_addr uses to eth_addr_
Convert the old ether_addr tests to eth_addr_.
Adds api consistency.
Signed-off-by: Joe Perches
---
arch/arm/mach-davinci/board-mityomapl138.c |2 +-
arch/arm/mach-pxa/colibri-pxa3xx.c |2 +-
arch/avr32/boards/atngw100/setup.c |2 +-
arch/avr32/boards/atstk1000
Remove wanrouter as it's obsolete and has not been updated
by sangoma since 2.4.3 or so and it's not used anymore.
Remove obsolete cyclomx drivers.
Update defconfig files that enable wanrouter.
Update files that include now deleted wanrouter bits.
Signed-off-by: Joe Perches
---
Doc
On Tue, 2012-11-13 at 17:17 -0500, David Miller wrote:
> From: Joe Perches
> Date: Tue, 13 Nov 2012 12:17:25 -0800
>
> > That seems an odd workflow as it leaves dangling CONFIG_
> > options set, but I guess it doesn't hurt so here it is.
>
> As you said it
Remove wanrouter as it's obsolete and has not been updated
by sangoma since 2.4.3 or so and it's not used anymore.
Remove obsolete cyclomx drivers.
Update files that include now deleted wanrouter bits.
Signed-off-by: Joe Perches
---
On Tue, 2012-11-13 at 14:44 -0500, David Mi
Use the new vsprintf extension to avoid any possible
message interleaving.
Signed-off-by: Joe Perches
---
arch/um/kernel/sysrq.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c
index e562ff8..6fa632c 100644
--- a/arch
Use the new vsprintf extension to avoid any possible
message interleaving.
Signed-off-by: Joe Perches
---
arch/x86/kernel/cpu/mcheck/mce.c | 13 +++--
arch/x86/kernel/dumpstack.c |5 ++---
arch/x86/kernel/process_32.c |2 +-
arch/x86/mm/mmio-mod.c |4
__builtin_extract_return_addr for those architectures
like S/390 and SPARC that have offset or masked addressing.
%p[FfSs]R uses the same gcc __builtin
Joe Perches (26):
vsprintf: Add extension %pSR - print_symbol replacement
alpha: Convert print_symbol to %pSR
arm: Convert print_symbol to %p
On Wed, 2012-12-12 at 21:49 +, Luck, Tony wrote:
> > I think I'd go ahead and ACK this unless Tony has some comments. I'm not
> > happy about the two pr_emerg calls based on the conditional.
>
> As written the patch has the nice property of not making any changes to the
> console output (excep
On Wed, 2012-12-12 at 22:09 +0100, Borislav Petkov wrote:
> On Wed, Dec 12, 2012 at 10:19:05AM -0800, Joe Perches wrote:
> > Use the new vsprintf extension to avoid any possible
> > message interleaving.
[]
> > diff --git a/arch/x86/kernel/cpu/mcheck/mce.c
> > b/arch/
Use the new vsprintf extension to avoid any possible
message interleaving.
Signed-off-by: Joe Perches
Acked-by: Tony Luck
Acked-by: Borislav Petkov
---
V2: mce.c: Add cast to (unsigned long) before cast to (void *)
to quiet the compiler on x86-32
arch/x86/kernel/cpu/mcheck/mce.c | 13
On Thu, 2012-12-13 at 19:37 +0100, Borislav Petkov wrote:
> On Thu, Dec 13, 2012 at 10:23:10AM -0800, Joe Perches wrote:
> > m->ip is a u64 so, when compiling x86-32, there's a new warning
> > "cast to pointer from integer of different size". This isn't
On Wed, 2012-12-12 at 23:45 +0100, Borislav Petkov wrote:
> On Wed, Dec 12, 2012 at 02:23:59PM -0800, Joe Perches wrote:
> > On Wed, 2012-12-12 at 21:49 +, Luck, Tony wrote:
> > > > I think I'd go ahead and ACK this unless Tony has some comments. I'm not
>
These are now unused so delete them.
Signed-off-by: Joe Perches
---
arch/um/include/shared/user.h | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h
index cef0685..4fa82c0 100644
--- a/arch/um/include/shared/user.h
+++ b
Joe Perches (4):
UserModeLinux: Convert UM_KERN_ to KERN_
UserModeLinux: Remove unused #defines of UM_KERN_
UserModeLinux: Use a more current logging style
UserModeLinux: Convert printks to pr_
arch/um/drivers/chan_kern.c | 27 +++
arch/um/drivers/chan_user.c
-off-by: Joe Perches
---
arch/um/drivers/daemon_kern.c| 5 ++---
arch/um/drivers/harddog_kern.c | 4 +---
arch/um/drivers/harddog_user.c | 14 +++---
arch/um/drivers/pcap_kern.c | 2 +-
arch/um/drivers/random.c | 3 +--
arch/um/drivers
On Wed, 2014-05-14 at 21:52 +0200, Richard Weinberger wrote:
> Am 10.05.2014 01:43, schrieb Joe Perches:
> > Joe Perches (4):
> > UserModeLinux: Convert UM_KERN_ to KERN_
> > UserModeLinux: Remove unused #defines of UM_KERN_
> > UserModeLinux: Use a
On Thu, 2015-10-29 at 14:46 +0530, Saurabh Sengar wrote:
> replace GFP_KERNEL with GFP_ATOMIC while spinlock is held,
> as code while holding a spinlock should be atomic.
> GFP_KERNEL may sleep and can cause deadlock,
> where as GFP_ATOMIC may fail but certainly avoids deadlock
>
> Signed-off-by:
On Fri, 2017-10-20 at 19:29 +0200, SF Markus Elfring wrote:
> arch/um/drivers/port_user.c
If you are going to use multiple labels,
it'd be nicer to rename out: too.
--
Check out the vibrant tech community on one of the w
On Wed, 2007-08-15 at 19:58 -0400, Dave Jones wrote:
> Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
>
> diff --git a/drivers/infiniband/hw/mlx4/mad.c
> b/drivers/infiniband/hw/mlx4/mad.c
> index 3330917..0ed02b7 100644
> --- a/drivers/infiniband/hw/mlx4/mad.c
> +++ b/drivers/infiniband/hw/mlx4/m
ot;" * \
| xargs sed -i -e
's/^[[:space:]]*#[[:space:]]*include[[:space:]]*"\(linux\|asm\)\/\(.*\)"/#include
<\1\/\2>/g'
Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
Acked-by: Jeff Dike <[EMAIL PROTECTED]&
On Tue, 2007-10-30 at 13:28 -0400, Jeff Dike wrote:
> +unsigned long get_wchan(struct task_struct *p)
> +{
> + unsigned long stack_page, sp, ip, count = 0;
Perhaps instead of unsigned long?
bool skipped_ip;//delayed initialization
> +
> + if ((p == NULL) || (p == current) || (p->
Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
---
arch/um/drivers/vde_user.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/vde_user.c b/arch/um/drivers/vde_user.c
index d9941fe..56533db 100644
--- a/arch/um/drivers/vde_user.c
+++ b/arch/um/d
Signed-off-by: Joe Perches <[EMAIL PROTECTED]>
---
arch/um/sys-x86_64/signal.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c
index 1778d33..3a63862 100644
--- a/arch/um/sys-x86_64/signal.c
+++ b/arch/
From: Joe Perches
Signed-off-by: Joe Perches
---
arch/um/drivers/hostaudio_kern.c | 38 +++---
1 files changed, 11 insertions(+), 27 deletions(-)
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c
index 368219c..2f5b343 100644
Signed-off-by: Joe Perches
---
arch/um/drivers/net_kern.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c
index 3b44b47..5072d4b 100644
--- a/arch/um/drivers/net_kern.c
+++ b/arch/um/drivers/net_kern.c
@@ -533,7
Signed-off-by: Joe Perches
---
arch/um/drivers/mmapper_kern.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c
index 8501e7d..6256fa9 100644
--- a/arch/um/drivers/mmapper_kern.c
+++ b/arch/um/drivers
ya trivial series...
Joe Perches (44):
arch/arm: Remove unnecessary semicolons
arch/microblaze: Remove unnecessary semicolons
arch/um: Remove unnecessary semicolons
drivers/cpufreq: Remove unnecessary semicolons
drivers/gpio: Remove unnecessary semicolons
drivers/i2c: Remove
Warn about uses of printk_ratelimit because it uses a
global state and can hide subsequent useful messages.
Signed-off-by: Joe Perches
---
scripts/checkpatch.pl |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index
35 matches
Mail list logo