[uml-user] [PATCH 05/11] arch/um: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(

2009-05-15 Thread Joe Perches
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

[uml-user] [PATCH 10/62] arch/um/drivers/net_kern.c: Remove unnecessary semicolons

2009-06-28 Thread Joe Perches
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

[uml-user] [PATCH 03/44] arch/um: Remove unnecessary semicolons

2010-11-14 Thread Joe Perches
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

[uml-user] [PATCH 00/44] remove unnecessary semicolons

2010-11-16 Thread Joe Perches
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

[uml-user] [PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-13 Thread Joe Perches
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

[uml-user] [PATCH net-next 0/8] etherdevice: Rename random_ether_addr to eth_random_addr

2012-07-13 Thread Joe Perches
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

[uml-user] [PATCH net-next 03/21] arch: Convert is__ether_addr uses to eth_addr_

2012-10-19 Thread Joe Perches
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

[uml-user] [PATCH net-next 00/21] treewide: Use consistent api style for address testing

2012-10-19 Thread Joe Perches
*) 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_

[uml-user] [PATCH] wanrouter: Remove it and the drivers that depend on it

2012-11-10 Thread Joe Perches
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

Re: [uml-user] [PATCH V2] wanrouter: Remove it and the drivers that depend on it

2012-11-13 Thread Joe Perches
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

[uml-user] [PATCH V2] wanrouter: Remove it and the drivers that depend on it

2012-11-13 Thread Joe Perches
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

[uml-user] [TRIVIAL PATCH 14/26] um: Convert print_symbol to %pSR

2012-12-12 Thread Joe Perches
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

[uml-user] [TRIVIAL PATCH 00/26] treewide: Add and use vsprintf extension %pSR

2012-12-12 Thread Joe Perches
__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

[uml-user] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-12 Thread Joe Perches
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

Re: [uml-user] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-12 Thread Joe Perches
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/

Re: [uml-user] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-12 Thread Joe Perches
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

[uml-user] [TRIVIAL PATCH V2 16/26] x86: Convert print_symbol to %pSR

2012-12-13 Thread Joe Perches
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

Re: [uml-user] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-13 Thread Joe Perches
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 >

Re: [uml-user] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-13 Thread Joe Perches
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

Re: [uml-user] [PATCH v3] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

2015-10-29 Thread Joe Perches
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:

Re: [uml-user] [PATCH] um: Use common error handling code in port_listen_fd()

2017-10-20 Thread Joe Perches
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

Re: [uml-user] drivers/infiniband/mlx/mad.c misplaced ;

2007-08-15 Thread Joe Perches
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

[uml-user] [PATCH] convert #include "linux/..." and #include "asm/..." to #include <...>

2007-08-24 Thread Joe Perches
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]&

[uml-user] [PATCH 08/59] arch/um: Add missing "space"

2007-11-19 Thread Joe Perches
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

[uml-user] [PATCH] arch/um: Spelling fixes

2007-12-17 Thread Joe Perches
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/