Merge 4.5-rc4 into char-misc-next
We want those fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -438,7 +438,11 @@ static int mei_ioctl_client_notify_request(const struct file *file, u32 request)
|
||||
{
|
||||
struct mei_cl *cl = file->private_data;
|
||||
|
||||
return mei_cl_notify_request(cl, file, request);
|
||||
if (request != MEI_HBM_NOTIFICATION_START &&
|
||||
request != MEI_HBM_NOTIFICATION_STOP)
|
||||
return -EINVAL;
|
||||
|
||||
return mei_cl_notify_request(cl, file, (u8)request);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user