Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vme: vme.c: fix minor coding style issues

Fix up some broken printk strings that were spanning multiple lines,
making it hard to search for them.

Cc: Manohar Vanga <manohar.vanga@cern.ch>
Cc: Martyn Welch <martyn.welch@ge.com>
Cc: "Emilio G. Cota" <cota@braap.org>
Cc: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+15 -24
+15 -24
drivers/staging/vme/vme.c
··· 98 98 } 99 99 100 100 if (bridge->parent == NULL) { 101 - printk(KERN_ERR "Dev entry NULL for" 102 - " bridge %s\n", bridge->name); 101 + printk(KERN_ERR "Dev entry NULL for bridge %s\n", bridge->name); 103 102 return NULL; 104 103 } 105 104 106 105 if (bridge->alloc_consistent == NULL) { 107 - printk(KERN_ERR "alloc_consistent not supported by" 108 - " bridge %s\n", bridge->name); 106 + printk(KERN_ERR "alloc_consistent not supported by bridge %s\n", 107 + bridge->name); 109 108 return NULL; 110 109 } 111 110 ··· 132 133 } 133 134 134 135 if (bridge->parent == NULL) { 135 - printk(KERN_ERR "Dev entry NULL for" 136 - " bridge %s\n", bridge->name); 136 + printk(KERN_ERR "Dev entry NULL for bridge %s\n", bridge->name); 137 137 return; 138 138 } 139 139 140 140 if (bridge->free_consistent == NULL) { 141 - printk(KERN_ERR "free_consistent not supported by" 142 - " bridge %s\n", bridge->name); 141 + printk(KERN_ERR "free_consistent not supported by bridge %s\n", 142 + bridge->name); 143 143 return; 144 144 } 145 145 ··· 745 747 746 748 attributes = kmalloc(sizeof(struct vme_dma_attr), GFP_KERNEL); 747 749 if (attributes == NULL) { 748 - printk(KERN_ERR "Unable to allocate memory for attributes " 749 - "structure\n"); 750 + printk(KERN_ERR "Unable to allocate memory for attributes structure\n"); 750 751 goto err_attr; 751 752 } 752 753 753 754 pattern_attr = kmalloc(sizeof(struct vme_dma_pattern), GFP_KERNEL); 754 755 if (pattern_attr == NULL) { 755 - printk(KERN_ERR "Unable to allocate memory for pattern " 756 - "attributes\n"); 756 + printk(KERN_ERR "Unable to allocate memory for pattern attributes\n"); 757 757 goto err_pat; 758 758 } 759 759 ··· 782 786 783 787 attributes = kmalloc(sizeof(struct vme_dma_attr), GFP_KERNEL); 784 788 if (attributes == NULL) { 785 - printk(KERN_ERR "Unable to allocate memory for attributes " 786 - "structure\n"); 789 + printk(KERN_ERR "Unable to allocate memory for attributes structure\n"); 787 790 goto err_attr; 788 791 } 789 792 790 793 pci_attr = kmalloc(sizeof(struct vme_dma_pci), GFP_KERNEL); 791 794 if (pci_attr == NULL) { 792 - printk(KERN_ERR "Unable to allocate memory for pci " 793 - "attributes\n"); 795 + printk(KERN_ERR "Unable to allocate memory for pci attributes\n"); 794 796 goto err_pci; 795 797 } 796 798 ··· 820 826 attributes = kmalloc( 821 827 sizeof(struct vme_dma_attr), GFP_KERNEL); 822 828 if (attributes == NULL) { 823 - printk(KERN_ERR "Unable to allocate memory for attributes " 824 - "structure\n"); 829 + printk(KERN_ERR "Unable to allocate memory for attributes structure\n"); 825 830 goto err_attr; 826 831 } 827 832 828 833 vme_attr = kmalloc(sizeof(struct vme_dma_vme), GFP_KERNEL); 829 834 if (vme_attr == NULL) { 830 - printk(KERN_ERR "Unable to allocate memory for vme " 831 - "attributes\n"); 835 + printk(KERN_ERR "Unable to allocate memory for vme attributes\n"); 832 836 goto err_vme; 833 837 } 834 838 ··· 974 982 if (call != NULL) 975 983 call(level, statid, priv_data); 976 984 else 977 - printk(KERN_WARNING "Spurilous VME interrupt, level:%x, " 978 - "vector:%x\n", level, statid); 985 + printk(KERN_WARNING "Spurilous VME interrupt, level:%x, vector:%x\n", 986 + level, statid); 979 987 } 980 988 EXPORT_SYMBOL(vme_irq_handler); 981 989 ··· 1104 1112 struct vme_lm_resource, list); 1105 1113 1106 1114 if (lm == NULL) { 1107 - printk(KERN_ERR "Registered NULL Location Monitor " 1108 - "resource\n"); 1115 + printk(KERN_ERR "Registered NULL Location Monitor resource\n"); 1109 1116 continue; 1110 1117 } 1111 1118