This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 5b691990939bedc382ea161a058cd8b23b8f8ad1 Author: Marco Casaroli <[email protected]> AuthorDate: Thu Oct 8 11:29:54 2026 +0200 audio: Fix nxstyle errors in audio.c. Whitespace only. Add a blank line after two declarations. The errors are older than the next commit, but checkpatch checks the whole file. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- audio/audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/audio.c b/audio/audio.c index 74229873b59..8016ef45ac3 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -895,6 +895,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) { FAR struct audio_caps_s *caps = (FAR struct audio_caps_s *)((uintptr_t)arg); + DEBUGASSERT(lower->ops->getcaps != NULL); audinfo("AUDIOIOC_GETCAPS: Device=%d\n", caps->ac_type); @@ -1342,6 +1343,7 @@ static int audio_poll(FAR struct file *filep, /* This is a request to tear down the poll. */ FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv; + *slot = NULL; fds->priv = NULL; }
