On Thu, 18 Jun 2009, Jan Nikitenko wrote:
> Replace printing to magically sized temporal buffer with use of KERN_CONT
temporary not temporal.
> - sprintf(buf2, "%02x ", val);
> + deb_info(KERN_CONT, " %02x", val);
No comma after KERN_CONT
> else
> - strcpy(buf2, "-- ");
> - strcat(buf, buf2);
> + deb_info(KERN_CONT, " --");
No comma after KERN_CONT
Just use printk() instead of deb_info() for the ones that use KERN_CONT.
> if (reg == 0xff)
> break;
> }
> - deb_info("%s\n", buf);
> + deb_info(KERN_CONT "\n");
> return 0;
> }
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html