Re: [PATCH 2/2] printk: return -EINVAL if the message len is bigger than the buf size
On Sat, Jun 16, 2012 at 6:40 AM, Yuanhan Liu <yuanhan.liu@linux.intel.com> wrote: > Just like what devkmsg_read() does, return -EINVAL if the message len is > bigger than the buf size, or it will trigger a segfault error.