public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] kselftest: alsa: Fix a couple of format specifiers and function parameters
@ 2024-01-07 17:37 Mirsad Todorovac
  2024-01-07 17:37 ` [PATCH v2 1/4] kselftest/alsa - mixer-test: fix the number of parameters to ksft_exit_fail_msg() Mirsad Todorovac
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Mirsad Todorovac @ 2024-01-07 17:37 UTC (permalink / raw)
  To: Nícolas F. R. A. Prado, Mark Brown, linux-sound,
	linux-kselftest, linux-kernel
  Cc: Jaroslav Kysela, Takashi Iwai, Shuah Khan, Mirsad Todorovac

Minor fixes of compiler warnings and one bug in the number of parameters which
would not crash the test but it is better fixed for correctness sake.

As the general climate in the Linux kernel community is to fix all compiler
warnings, this could be on the right track, even if only in the testing suite.

Changelog:

v1 -> v2:
- Compared to v1, commit subject lines have been adjusted to reflect the style
  of the subsystem, as suggested by Mark.
- 1/4 was already acked and unchanged (adjusted the subject line as suggested)
  (code unchanged)
- 2/4 was acked with suggestion to adjust the subject line (done).
  (code unchanged)
- 3/4 The format specifier was changed from %d to %u as suggested.
- The 4/4 submitted for review (in the v1 it was delayed by an omission).
  (code unchanged)

Mirsad Todorovac (4):
  kselftest/alsa - mixer-test: fix the number of parameters to
    ksft_exit_fail_msg()
  kselftest/alsa - mixer-test: Fix the print format specifier warning
  kselftest/alsa - mixer-test: Fix the print format specifier warning
  kselftest/alsa - conf: Stringify the printed errno in sysfs_get()

 tools/testing/selftests/alsa/conf.c       | 2 +-
 tools/testing/selftests/alsa/mixer-test.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-01-09 19:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-07 17:37 [PATCH v2 0/4] kselftest: alsa: Fix a couple of format specifiers and function parameters Mirsad Todorovac
2024-01-07 17:37 ` [PATCH v2 1/4] kselftest/alsa - mixer-test: fix the number of parameters to ksft_exit_fail_msg() Mirsad Todorovac
2024-01-07 17:37 ` [PATCH v2 2/4] kselftest/alsa - mixer-test: Fix the print format specifier warning Mirsad Todorovac
2024-01-07 17:37 ` [PATCH v2 3/4] " Mirsad Todorovac
2024-01-08 17:05   ` Mark Brown
2024-01-07 17:37 ` [PATCH v2 4/4] kselftest/alsa - conf: Stringify the printed errno in sysfs_get() Mirsad Todorovac
2024-01-08 17:37   ` Mark Brown
2024-01-09  5:36     ` Mirsad Goran Todorovac
2024-01-09 14:16 ` [PATCH v2 0/4] kselftest: alsa: Fix a couple of format specifiers and function parameters Takashi Iwai
2024-01-09 19:23   ` Mirsad Goran Todorovac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox