Loading drivers/media/media-device.c +1 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static long __media_device_enum_links(struct media_device *mdev, unsigned int p; for (p = 0; p < entity->num_pads; p++) { struct media_pad_desc pad = {0}; struct media_pad_desc pad; media_device_kpad_to_upad(&entity->pads[p], &pad); if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) return -EFAULT; Loading Loading
drivers/media/media-device.c +1 −1 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static long __media_device_enum_links(struct media_device *mdev, unsigned int p; for (p = 0; p < entity->num_pads; p++) { struct media_pad_desc pad = {0}; struct media_pad_desc pad; media_device_kpad_to_upad(&entity->pads[p], &pad); if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) return -EFAULT; Loading