-
Notifications
You must be signed in to change notification settings - Fork 5
riscv: bpf: Fix uninitialized symbol 'retval_off' #5782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riscv: bpf: Fix uninitialized symbol 'retval_off' #5782
Conversation
|
Upstream branch: bf7a6a6 |
2ef6166 to
28cde7b
Compare
|
Upstream branch: b5bbbb7 |
c7cebd7 to
67352ed
Compare
28cde7b to
e571275
Compare
|
Upstream branch: 2693227 |
67352ed to
309f957
Compare
e571275 to
cffbb10
Compare
|
Upstream branch: 78e097f |
309f957 to
9fbf6aa
Compare
cffbb10 to
3975be7
Compare
|
Upstream branch: 21aeabb |
In __arch_prepare_bpf_trampoline(), retval_off is only meaningful when save_ret is true, so the current logic is correct. However, in the original logic, retval_off is only initialized under certain conditions, which may cause a build warning. So initialize retval_off unconditionally to fix it. Signed-off-by: Chenghao Duan <[email protected]>
9fbf6aa to
7ec2411
Compare
3975be7 to
6bdd33d
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=993317 expired. Closing PR. |
Pull request for series with
subject: riscv: bpf: Fix uninitialized symbol 'retval_off'
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=993317