aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2021-01-14 07:54:37 +0000
committerGuo Ren <[email protected]>2021-02-27 08:34:50 +0000
commit8dcbc611f0fcbcc196dc96e0f833181df0d80242 (patch)
tree36ffa14dadd0aac44c9c69a44c81752e0c3334cb /scripts/gcc-plugins
parentcsky: Fixup swapon (diff)
downloadkernel-8dcbc611f0fcbcc196dc96e0f833181df0d80242.tar.gz
kernel-8dcbc611f0fcbcc196dc96e0f833181df0d80242.zip
csky: kprobe: Fixup code in simulate without 'long'
The type of 'val' is 'unsigned long' in simulate_blz32, so 'val < 0' can't be true. Cast 'val' to 'long' here to determine branch token or not, Fixup instructions: bnezad32, bhsz32, bhz32, blsz32, blz32 Link: https://lore.kernel.org/linux-csky/CAJF2gTQjKXR9gpo06WAWG1aquiT87mATiMGorXs6ChxOxoe90Q@mail.gmail.com/T/#t Signed-off-by: Guo Ren <[email protected]> Co-developed-by: Menglong Dong <[email protected]> Signed-off-by: Menglong Dong <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions