summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-09-18 09:11:12 +0200
committerTakashi Iwai <tiwai@suse.de>2025-09-18 09:11:12 +0200
commitacff093287fb7f1d179162e531bae4ccd0ec8d65 (patch)
treeca751cb3388522719e3e538918fad62b1c904c55 /lib
parent7dd670db9afdca6aed4a9f99776cb72e6ed5a1f5 (diff)
parent1dd28fd86c3fa4e395031dd6f2ba920242107010 (diff)
downloadlinux-next-acff093287fb7f1d179162e531bae4ccd0ec8d65.tar.gz
linux-next-acff093287fb7f1d179162e531bae4ccd0ec8d65.zip
Merge tag 'asoc-fix-v6.17-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.17 A pile of fixes that accumilated over the past few -rcs, this is all driver specifics including a small pile of quirks for new systems.
Diffstat (limited to 'lib')
-rw-r--r--lib/ubsan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ubsan.c b/lib/ubsan.c
index a6ca235dd714..456e3dd8f4ea 100644
--- a/lib/ubsan.c
+++ b/lib/ubsan.c
@@ -333,18 +333,18 @@ EXPORT_SYMBOL(__ubsan_handle_implicit_conversion);
void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs)
{
struct overflow_data *data = _data;
- char rhs_val_str[VALUE_LENGTH];
+ char lhs_val_str[VALUE_LENGTH];
if (suppress_report(&data->location))
return;
ubsan_prologue(&data->location, "division-overflow");
- val_to_string(rhs_val_str, sizeof(rhs_val_str), data->type, rhs);
+ val_to_string(lhs_val_str, sizeof(lhs_val_str), data->type, lhs);
if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1)
pr_err("division of %s by -1 cannot be represented in type %s\n",
- rhs_val_str, data->type->type_name);
+ lhs_val_str, data->type->type_name);
else
pr_err("division by zero\n");