Re: [PATCH 2/9] audio: remove special audio_calloc function

2023-01-16 Thread Daniel P . Berrangé
On Sun, Jan 15, 2023 at 03:03:29PM +0100, Volker Rümelin wrote: > Am 13.01.23 um 17:21 schrieb Daniel P. Berrangé: > > The audio_calloc function does various checks on the size and > > nmembers parameters to detect various error conditions. There > > are only 5 callers > > > > *

Re: [PATCH 2/9] audio: remove special audio_calloc function

2023-01-16 Thread Volker Rümelin
Am 13.01.23 um 17:21 schrieb Daniel P. Berrangé: The audio_calloc function does various checks on the size and nmembers parameters to detect various error conditions. There are only 5 callers * alsa_poll_helper: the pollfd count is small and bounded, * audio_pcm_create_voice_pair_:

[PATCH 2/9] audio: remove special audio_calloc function

2023-01-13 Thread Daniel P . Berrangé
The audio_calloc function does various checks on the size and nmembers parameters to detect various error conditions. There are only 5 callers * alsa_poll_helper: the pollfd count is small and bounded, * audio_pcm_create_voice_pair_: allocating a single fixed size struct *