mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Two minor conflicts in virtio_net driver (bug fix overlapping addition of a helper) and MAINTAINERS (new driver edit overlapping revamp of PHY entry). Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
29fda25a2d
537 changed files with 11723 additions and 5156 deletions
|
|
@ -1916,7 +1916,7 @@ static int copy_msghdr_from_user(struct msghdr *kmsg,
|
|||
if (copy_from_user(&msg, umsg, sizeof(*umsg)))
|
||||
return -EFAULT;
|
||||
|
||||
kmsg->msg_control = msg.msg_control;
|
||||
kmsg->msg_control = (void __force *)msg.msg_control;
|
||||
kmsg->msg_controllen = msg.msg_controllen;
|
||||
kmsg->msg_flags = msg.msg_flags;
|
||||
|
||||
|
|
@ -1935,7 +1935,8 @@ static int copy_msghdr_from_user(struct msghdr *kmsg,
|
|||
|
||||
if (msg.msg_name && kmsg->msg_namelen) {
|
||||
if (!save_addr) {
|
||||
err = move_addr_to_kernel(msg.msg_name, kmsg->msg_namelen,
|
||||
err = move_addr_to_kernel(msg.msg_name,
|
||||
kmsg->msg_namelen,
|
||||
kmsg->msg_name);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue