diff --git a/scst/src/dev_handlers/scst_user_main.c b/scst/src/dev_handlers/scst_user_main.c index b51b9e83b..a9e0e4b4b 100644 --- a/scst/src/dev_handlers/scst_user_main.c +++ b/scst/src/dev_handlers/scst_user_main.c @@ -2484,7 +2484,7 @@ out_unlock: spin_unlock_irq(&dev->udev_cmd_threads.cmd_list_lock); out: - TRACE_EXIT_HRES(res); + TRACE_EXIT_HRES((__force unsigned int)res); return res; } diff --git a/scst/src/scst_event.c b/scst/src/scst_event.c index f265a47eb..72fd0a52b 100644 --- a/scst/src/scst_event.c +++ b/scst/src/scst_event.c @@ -1040,7 +1040,7 @@ static __poll_t scst_event_poll(struct file *file, poll_table *wait) out_unlock: mutex_unlock(&scst_event_mutex); - TRACE_EXIT_HRES(res); + TRACE_EXIT_HRES((__force unsigned int)res); return res; }