mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-30 04:13:47 +00:00
Blackfin: remove trailing space in messages
Signed-off-by: Frans Pop <elendil@planet.nl> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
fe5b25c098
commit
2bc4affe9c
2 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||||
#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)
|
||||||
* 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)
|
||||||
|
|
||||||
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)
|
||||||
/* 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)
|
||||||
/* 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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue