diff options
| author | Takashi Iwai <tiwai@suse.de> | 2025-06-12 08:48:01 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-06-12 08:53:00 +0200 |
| commit | 30f85eddbdebba7665f9b7b772821e588547ca9e (patch) | |
| tree | 54d0f421499e3d5d14797c3431f61e6a36053fe6 /rust/helpers/device.c | |
| parent | 9ca30a1b007d5fefb5752428f852a2d8d7219c1c (diff) | |
ALSA: hda/ca0132: Use const char * for strings
Some static strings have been stored in fixed char arrays although
they could be gracefully "const char *" instead. Also, a few other
definitions use the raw "char *" without const.
Converting those to "const char *" will save some memory and give more
safety, in addition to a side-effect to address the bogus compiler
warning with snprintf().
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506121025.G9uunMlx-lkp@intel.com/
Link: https://patch.msgid.link/20250612064802.1170-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/helpers/device.c')
0 files changed, 0 insertions, 0 deletions
