diff options
| author | Sunil V L <[email protected]> | 2022-05-27 05:17:40 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2022-07-19 23:39:03 +0000 |
| commit | c029e487e7c00e5594a4ae946952605db34e359b (patch) | |
| tree | 7f2a59e456d51f27dd7c48bb8969447e9538ae87 /drivers/fpga/fpga-region.c | |
| parent | riscv: cpu_ops_sbi: Add 64bit hartid support on RV64 (diff) | |
| download | kernel-c029e487e7c00e5594a4ae946952605db34e359b.tar.gz kernel-c029e487e7c00e5594a4ae946952605db34e359b.zip | |
riscv: spinwait: Fix hartid variable type
The hartid variable is of type int but compared with
ULONG_MAX(INVALID_HARTID). This issue is fixed by changing
the hartid variable type to unsigned long.
Fixes: c78f94f35cf6 ("RISC-V: Use __cpu_up_stack/task_pointer only for spinwait method")
Signed-off-by: Sunil V L <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
