[PATCH 16/16] pcmcia: use dev_dbg and dev_print in pd6729.c

Komuro komurojun-mbn at nifty.com
Sat Oct 24 19:21:13 EDT 2009


Hi,

minir fixes. add "\n" to some dev_dbg.

  
> pd6729_set_io_map
 
>  	/* Check error conditions */
>  	if (map > 1) {
> -		dprintk("pd6729_set_io_map with invalid map");
> +		dev_dbg(&sock->dev, "pd6729_set_io_map with invalid map");
>  		return -EINVAL;
>  	}
>  

  	if (map > 1) {
 -		dev_dbg(&sock->dev, "pd6729_set_io_map with invalid map");
 +		dev_dbg(&sock->dev, "pd6729_set_io_map with invalid map\n");
  		return -EINVAL;
  	}
  

>  pd6729_set_mem_map

       if (map > 4) {
-               printk("pd6729_set_mem_map: invalid map");
+               printk("pd6729_set_mem_map: invalid map\n");
                return -EINVAL;
        }

        if ((mem->res->start > mem->res->end) || (mem->speed > 1000)) {
 -              printk("pd6729_set_mem_map: invalid address / speed");
 +              printk("pd6729_set_mem_map: invalid address / speed\n");
                return -EINVAL;
        }

Best Regards
Komuro



More information about the linux-pcmcia mailing list