Skip to content

Commit c9d4769

Browse files
jerome-pouillergregkh
authored andcommitted
staging: wfx: drop unicode characters from strings
Smatch complains: hif_rx.c:235 hif_generic_indication() warn: format string contains non-ascii character '\xc2' hif_rx.c:235 hif_generic_indication() warn: format string contains non-ascii character '\xb0' 234 if (!wfx_api_older_than(wdev, 1, 4)) 235 dev_info(wdev->dev, "Rx test ongoing. Temperature: %d°C\n", ^ 236 body->data.rx_stats.current_temp); So, replace the unicode character. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8522d62 commit c9d4769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/wfx/hif_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ static int hif_generic_indication(struct wfx_dev *wdev,
246246
mutex_lock(&wdev->rx_stats_lock);
247247
// Older firmware send a generic indication beside RxStats
248248
if (!wfx_api_older_than(wdev, 1, 4))
249-
dev_info(wdev->dev, "Rx test ongoing. Temperature: %d°C\n",
249+
dev_info(wdev->dev, "Rx test ongoing. Temperature: %d degrees C\n",
250250
body->data.rx_stats.current_temp);
251251
memcpy(&wdev->rx_stats, &body->data.rx_stats,
252252
sizeof(wdev->rx_stats));

0 commit comments

Comments
 (0)