Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a00853b8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "[media] media: Init the reserved fields of struct media_link_desc""

parents fa70682b 6ed379b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;