public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/59] arch/ia64: Add missing "space"
@ 2007-11-20  1:47 ` Joe Perches
  2007-11-20  6:54   ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2007-11-20  1:47 UTC (permalink / raw)
  To: linux-kernel


Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/ia64/kernel/kprobes.c      |   10 +++++-----
 arch/ia64/mm/tlb.c              |    2 +-
 arch/ia64/sn/kernel/io_common.c |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
index 5fd65d8..90518e4 100644
--- a/arch/ia64/kernel/kprobes.c
+++ b/arch/ia64/kernel/kprobes.c
@@ -182,8 +182,8 @@ static int __kprobes unsupported_inst(uint template, uint  slot,
 	qp = kprobe_inst & 0x3f;
 	if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) {
 		if (slot = 1 && qp)  {
-			printk(KERN_WARNING "Kprobes on cmp unc"
-					"instruction on slot 1 at <0x%lx>"
+			printk(KERN_WARNING "Kprobes on cmp unc "
+					"instruction on slot 1 at <0x%lx> "
 					"is not supported\n", addr);
 			return -EINVAL;
 
@@ -221,8 +221,8 @@ static int __kprobes unsupported_inst(uint template, uint  slot,
 			 * bit 12 to be equal to 1
 			 */
 			if (slot = 1 && qp) {
-				printk(KERN_WARNING "Kprobes on test bit"
-						"instruction on slot at <0x%lx>"
+				printk(KERN_WARNING "Kprobes on test bit "
+						"instruction on slot at <0x%lx> "
 						"is not supported\n", addr);
 				return -EINVAL;
 			}
@@ -242,7 +242,7 @@ static int __kprobes unsupported_inst(uint template, uint  slot,
 			 */
 			int x6=(kprobe_inst >> 27) & 0x3F;
 			if ((x6 = 0x10) || (x6 = 0x11)) {
-				printk(KERN_WARNING "Kprobes on"
+				printk(KERN_WARNING "Kprobes on "
 					"Indirect Predict is not supported\n");
 				return -EINVAL;
 			}
diff --git a/arch/ia64/mm/tlb.c b/arch/ia64/mm/tlb.c
index 1682fc6..cef1647 100644
--- a/arch/ia64/mm/tlb.c
+++ b/arch/ia64/mm/tlb.c
@@ -180,7 +180,7 @@ ia64_tlb_init (void)
 	long status;
 
 	if ((status = ia64_pal_vm_page_size(&tr_pgbits, &purge.mask)) != 0) {
-		printk(KERN_ERR "PAL_VM_PAGE_SIZE failed with status=%ld;"
+		printk(KERN_ERR "PAL_VM_PAGE_SIZE failed with status=%ld; "
 		       "defaulting to architected purge page-sizes.\n", status);
 		purge.mask = 0x115557000UL;
 	}
diff --git a/arch/ia64/sn/kernel/io_common.c b/arch/ia64/sn/kernel/io_common.c
index 4594770..710bf51 100644
--- a/arch/ia64/sn/kernel/io_common.c
+++ b/arch/ia64/sn/kernel/io_common.c
@@ -347,7 +347,7 @@ sn_common_bus_fixup(struct pci_bus *bus,
 	if (controller->node >= num_online_nodes()) {
 		struct pcibus_bussoft *b = SN_PCIBUS_BUSSOFT(bus);
 
-		printk(KERN_WARNING "Device ASIC=%u XID=%u PBUSNUM=%u"
+		printk(KERN_WARNING "Device ASIC=%u XID=%u PBUSNUM=%u "
 		       "L_IO=%lx L_MEM=%lx BASE=%lx\n",
 		       b->bs_asic_type, b->bs_xid, b->bs_persist_busnum,
 		       b->bs_legacy_io, b->bs_legacy_mem, b->bs_base);
-- 
1.5.3.5.652.gf192c


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 01/59] arch/ia64: Add missing "space"
  2007-11-20  1:47 ` [PATCH 01/59] arch/ia64: Add missing "space" Joe Perches
@ 2007-11-20  6:54   ` Simon Horman
  2007-11-20  7:09     ` Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2007-11-20  6:54 UTC (permalink / raw)
  To: Joe Perches
  Cc: linux-kernel, Jes Sorensen, Tony Luck, linux-altix, linux-ia64

[snip]

> diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
> index 5fd65d8..90518e4 100644
> --- a/arch/ia64/kernel/kprobes.c
> +++ b/arch/ia64/kernel/kprobes.c
> @@ -182,8 +182,8 @@ static int __kprobes unsupported_inst(uint template, uint  slot,
>  	qp = kprobe_inst & 0x3f;
>  	if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) {
>  		if (slot = 1 && qp)  {
> -			printk(KERN_WARNING "Kprobes on cmp unc"
> -					"instruction on slot 1 at <0x%lx>"
> +			printk(KERN_WARNING "Kprobes on cmp unc "
> +					"instruction on slot 1 at <0x%lx> "
>  					"is not supported\n", addr);
>  			return -EINVAL;
>  
> @@ -221,8 +221,8 @@ static int __kprobes unsupported_inst(uint template, uint  slot,
>  			 * bit 12 to be equal to 1
>  			 */
>  			if (slot = 1 && qp) {
> -				printk(KERN_WARNING "Kprobes on test bit"
> -						"instruction on slot at <0x%lx>"
> +				printk(KERN_WARNING "Kprobes on test bit "
> +						"instruction on slot at <0x%lx> "
>  						"is not supported\n", addr);
>  				return -EINVAL;
>  			}

Is it really neccessary for this fragment to create a line that
is greater than 80 characters long? Persumably the entire reason
that the printk line was split in the first place was to avoid
a long line.

[snip]

-- 
Horms


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 01/59] arch/ia64: Add missing "space"
  2007-11-20  6:54   ` Simon Horman
@ 2007-11-20  7:09     ` Joe Perches
  2007-11-20  7:41       ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2007-11-20  7:09 UTC (permalink / raw)
  To: Simon Horman
  Cc: linux-kernel, Jes Sorensen, Tony Luck, linux-altix, linux-ia64

On Tue, 2007-11-20 at 15:54 +0900, Simon Horman wrote:
> Is it really neccessary for this fragment to create a line that
> is greater than 80 characters long? Persumably the entire reason
> that the printk line was split in the first place was to avoid
> a long line.

No.  Many other lines in that source file are > 80 char.

My initial preference was to reformat the indented lines to the
printk open parenthesis, but the minimal change seemed better.

cheers, Joe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 01/59] arch/ia64: Add missing "space"
  2007-11-20  7:09     ` Joe Perches
@ 2007-11-20  7:41       ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2007-11-20  7:41 UTC (permalink / raw)
  To: Joe Perches
  Cc: linux-kernel, Jes Sorensen, Tony Luck, linux-altix, linux-ia64

On Mon, Nov 19, 2007 at 11:09:25PM -0800, Joe Perches wrote:
> On Tue, 2007-11-20 at 15:54 +0900, Simon Horman wrote:
> > Is it really neccessary for this fragment to create a line that
> > is greater than 80 characters long? Persumably the entire reason
> > that the printk line was split in the first place was to avoid
> > a long line.
> 
> No.  Many other lines in that source file are > 80 char.

That may be so, but surely adding another one makes
things slightly worse.

> My initial preference was to reformat the indented lines to the
> printk open parenthesis, but the minimal change seemed better.
> 
> cheers, Joe

-- 
Horms


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-20  7:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1195523331-15303-1-git-send-email-joe@perches.com>
2007-11-20  1:47 ` [PATCH 01/59] arch/ia64: Add missing "space" Joe Perches
2007-11-20  6:54   ` Simon Horman
2007-11-20  7:09     ` Joe Perches
2007-11-20  7:41       ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox