lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251230132235.90687-1-Julia.Lawall@inria.fr>
Date: Tue, 30 Dec 2025 14:22:35 +0100
From: Julia Lawall <Julia.Lawall@...ia.fr>
To: Jaroslav Kysela <perex@...ex.cz>
Cc: yunbolyu@....edu.sg,
	kexinsun@...il.nju.edu.cn,
	ratnadiraw@....edu.sg,
	xutong.ma@...ia.fr,
	Takashi Iwai <tiwai@...e.com>,
	linux-sound@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] ALSA: mixart: adjust field name reference

buf_period_pos seems to not have existed in the git history, but the
buf_period_frag field is used with the buf_periods field in the
function snd_mixart_stream_pointer in mixart.c, so it seems that
buf_periods is what was intended.

Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>

---
 sound/pci/mixart/mixart.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/mixart/mixart.h b/sound/pci/mixart/mixart.h
index cbed6d9a9f2e..3fcc5ca757c1 100644
--- a/sound/pci/mixart/mixart.h
+++ b/sound/pci/mixart/mixart.h
@@ -125,7 +125,7 @@ struct mixart_stream {
 
 	u64  abs_period_elapsed;  /* last absolute stream position where period_elapsed was called (multiple of runtime->period_size) */
 	u32  buf_periods;         /* periods counter in the buffer (< runtime->periods) */
-	u32  buf_period_frag;     /* defines with buf_period_pos the exact position in the buffer (< runtime->period_size) */
+	u32  buf_period_frag;     /* defines with buf_periods the exact position in the buffer (< runtime->period_size) */
 
 	int channels;
 };


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ