linux-apfs / linux-apfs-rw

APFS module for linux, with experimental write support
GNU General Public License v2.0
510 stars 34 forks source link

warning: objtool: lzvn_decode+0x1c6: sibling call from callable instruction with modified stack frame #47

Open BlackMage2 opened 1 year ago

BlackMage2 commented 1 year ago

I get a warning when compiling: CC [M] /home/user/Development/linux-apfs-rw/lzfse/lzvn_decode_base.o /home/user/Development/linux-apfs-rw/lzfse/lzvn_decode_base.o: warning: objtool: lzvn_decode+0x1c6: sibling call from callable instruction with modified stack frame

eafer commented 1 year ago

I've noticed that objtool warning before. The lzfse code code comes from Apple, I just adapted it for the kernel. I haven't dug into it, but I wouldn't be surprised if it's a false positive triggered by all the goto magic that function uses. Either way, objtool warnings are probably not a big deal for an out-of-tree driver that doesn't intend to support live patches or anything like that.

I'm leaving this open, but I won't be fixing it anytime soon.