aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2012-06-16 12:40:55 +0800
committerGreg Kroah-Hartman <[email protected]>2012-06-16 08:36:03 -0700
commitb56a39ac263e5b8cafedd551a49c2105e68b98c2 (patch)
tree0dbbe8929783ab347b3d40d4ed79ea87d5b3966d /drivers/scsi
parent4a77a5a06ec66ed05199b301e7c25f42f979afdc (diff)
printk: return -EINVAL if the message len is bigger than the buf size
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. Acked-by: Kay Sievers <[email protected]> Acked-by: Fengguang Wu <[email protected]> Signed-off-by: Yuanhan Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions