Skip to content

Commit 83b5d1e

Browse files
committed
parisc, parport_gsc: Fixes for printk continuation lines
Signed-off-by: Helge Deller <[email protected]>
1 parent d56a5ca commit 83b5d1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/parport/parport_gsc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ struct parport *parport_gsc_probe_port(unsigned long base,
293293
p->irq = PARPORT_IRQ_NONE;
294294
}
295295
if (p->irq != PARPORT_IRQ_NONE) {
296-
printk(", irq %d", p->irq);
296+
pr_cont(", irq %d", p->irq);
297297

298298
if (p->dma == PARPORT_DMA_AUTO) {
299299
p->dma = PARPORT_DMA_NONE;
@@ -303,8 +303,8 @@ struct parport *parport_gsc_probe_port(unsigned long base,
303303
is mandatory (see above) */
304304
p->dma = PARPORT_DMA_NONE;
305305

306-
printk(" [");
307-
#define printmode(x) {if(p->modes&PARPORT_MODE_##x){printk("%s%s",f?",":"",#x);f++;}}
306+
pr_cont(" [");
307+
#define printmode(x) {if(p->modes&PARPORT_MODE_##x){pr_cont("%s%s",f?",":"",#x);f++;}}
308308
{
309309
int f = 0;
310310
printmode(PCSPP);
@@ -315,7 +315,7 @@ struct parport *parport_gsc_probe_port(unsigned long base,
315315
// printmode(DMA);
316316
}
317317
#undef printmode
318-
printk("]\n");
318+
pr_cont("]\n");
319319

320320
if (p->irq != PARPORT_IRQ_NONE) {
321321
if (request_irq (p->irq, parport_irq_handler,

0 commit comments

Comments
 (0)