diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-02-13 21:08:09 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-15 14:46:13 -0500 |
commit | f2dced9d1992824d677593072bc20eccf66ac5d5 (patch) | |
tree | 27464a63feca6a6ea3b9ae9e9c5b29581b11db01 /fs/nfs | |
parent | de959094eb2197636f7c803af0943cb9d3b35804 (diff) |
scsi: ufs: Uninitialized variable in ufshcd_devfreq_target()
There is one goto where "sched_clk_scaling_suspend_work" is true but
"scale_up" is uninitialized. It leads to a Smatch uninitialized variable
warning:
drivers/ufs/core/ufshcd.c:1589 ufshcd_devfreq_target() error: uninitialized symbol 'scale_up'.
Fixes: 1d969731b87f ("scsi: ufs: core: Only suspend clock scaling if scaling down")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/c787d37f-1107-4512-8991-bccf80e74a35@moroto.mountain
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions