Commit 2bc4affe authored by Frans Pop's avatar Frans Pop Committed by Mike Frysinger

Blackfin: remove trailing space in messages

Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent fe5b25c0
...@@ -91,7 +91,7 @@ late_initcall(proc_dma_init); ...@@ -91,7 +91,7 @@ late_initcall(proc_dma_init);
*/ */
int request_dma(unsigned int channel, const char *device_id) int request_dma(unsigned int channel, const char *device_id)
{ {
pr_debug("request_dma() : BEGIN \n"); pr_debug("request_dma() : BEGIN\n");
if (device_id == NULL) if (device_id == NULL)
printk(KERN_WARNING "request_dma(%u): no device_id given\n", channel); printk(KERN_WARNING "request_dma(%u): no device_id given\n", channel);
...@@ -107,7 +107,7 @@ int request_dma(unsigned int channel, const char *device_id) ...@@ -107,7 +107,7 @@ int request_dma(unsigned int channel, const char *device_id)
#endif #endif
if (atomic_cmpxchg(&dma_ch[channel].chan_status, 0, 1)) { if (atomic_cmpxchg(&dma_ch[channel].chan_status, 0, 1)) {
pr_debug("DMA CHANNEL IN USE \n"); pr_debug("DMA CHANNEL IN USE\n");
return -EBUSY; return -EBUSY;
} }
...@@ -131,7 +131,7 @@ int request_dma(unsigned int channel, const char *device_id) ...@@ -131,7 +131,7 @@ int request_dma(unsigned int channel, const char *device_id)
* you have to request DMA, before doing any operations on * you have to request DMA, before doing any operations on
* descriptor/channel * descriptor/channel
*/ */
pr_debug("request_dma() : END \n"); pr_debug("request_dma() : END\n");
return 0; return 0;
} }
EXPORT_SYMBOL(request_dma); EXPORT_SYMBOL(request_dma);
...@@ -171,7 +171,7 @@ static void clear_dma_buffer(unsigned int channel) ...@@ -171,7 +171,7 @@ static void clear_dma_buffer(unsigned int channel)
void free_dma(unsigned int channel) void free_dma(unsigned int channel)
{ {
pr_debug("freedma() : BEGIN \n"); pr_debug("freedma() : BEGIN\n");
BUG_ON(channel >= MAX_DMA_CHANNELS || BUG_ON(channel >= MAX_DMA_CHANNELS ||
!atomic_read(&dma_ch[channel].chan_status)); !atomic_read(&dma_ch[channel].chan_status));
...@@ -185,7 +185,7 @@ void free_dma(unsigned int channel) ...@@ -185,7 +185,7 @@ void free_dma(unsigned int channel)
/* Clear the DMA Variable in the Channel */ /* Clear the DMA Variable in the Channel */
atomic_set(&dma_ch[channel].chan_status, 0); atomic_set(&dma_ch[channel].chan_status, 0);
pr_debug("freedma() : END \n"); pr_debug("freedma() : END\n");
} }
EXPORT_SYMBOL(free_dma); EXPORT_SYMBOL(free_dma);
......
...@@ -1116,7 +1116,7 @@ void dump_bfin_mem(struct pt_regs *fp) ...@@ -1116,7 +1116,7 @@ void dump_bfin_mem(struct pt_regs *fp)
/* And the last RETI points to the current userspace context */ /* And the last RETI points to the current userspace context */
if ((fp + 1)->pc >= current->mm->start_code && if ((fp + 1)->pc >= current->mm->start_code &&
(fp + 1)->pc <= current->mm->end_code) { (fp + 1)->pc <= current->mm->end_code) {
verbose_printk(KERN_NOTICE "It might be better to look around here : \n"); verbose_printk(KERN_NOTICE "It might be better to look around here :\n");
verbose_printk(KERN_NOTICE "-------------------------------------------\n"); verbose_printk(KERN_NOTICE "-------------------------------------------\n");
show_regs(fp + 1); show_regs(fp + 1);
verbose_printk(KERN_NOTICE "-------------------------------------------\n"); verbose_printk(KERN_NOTICE "-------------------------------------------\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment