diff options
| author | Yang Li <[email protected]> | 2023-05-16 16:11:16 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-05-23 16:00:12 +0100 |
| commit | fcbc3aaccfd57c7e71eac36bf1a8f063f19ceefa (patch) | |
| tree | a9a2f7f85eb115a46baa48dc4c4d26255545051a /tools/perf/scripts/python | |
| parent | f9d790c578d4e0f715213cc7f2f6f2b0d2d91988 (diff) | |
ASoC: SOF: ipc4-topology: Fix an unsigned comparison which can never be negative
The return value from the call to sof_ipc4_get_valid_bits() is int.
However, the return value is being assigned to an unsigned
int variable 'out_ref_valid_bits', so making it an int.
Eliminate the following warning:
./sound/soc/sof/ipc4-topology.c:1537:6-24: WARNING: Unsigned expression compared with zero: out_ref_valid_bits < 0
Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4985
Signed-off-by: Yang Li <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions