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

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

Merge "msm: qdsp5: memset stack buffer allocation."

parents 9e180c8f 1c221b58
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -626,6 +626,7 @@ static long audio_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

	if (cmd == AUDIO_GET_STATS) {
		struct msm_audio_stats stats;
		memset(&stats, 0, sizeof(stats));
		stats.byte_count = atomic_read(&audio->out_bytes);
		if (copy_to_user((void*) arg, &stats, sizeof(stats)))
			return -EFAULT;