Re: [RFC 00/31] objtool, livepatch: Livepatch module generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 06, 2024 at 09:56:06AM -0400, Joe Lawrence wrote:
> In the case of klp-diff.c, adding #include <string.h> will provide the
> memmem prototype.  For both files, I needed to #define _GNU_SOURCE for
> that prototype though.
> 
> For the other complaint, I just set struct instruction *dest_insn = NULL
> at the top of the for loop, but perhaps the code could be refactored to
> clarify the situation to the compiler if you prefer not to do that.

Thanks!  I'll get these fixed up.

-- 
Josh




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux