mirror of
https://github.com/dynup/kpatch
synced 2025-02-16 09:36:55 +00:00
Merge pull request #810 from joe-lawrence/sparse
sparse: quiet latest trivial complaints
This commit is contained in:
commit
9e7db03d3f
@ -139,7 +139,7 @@ static int (*kpatch_set_memory_ro)(unsigned long addr, int numpages);
|
||||
|
||||
#define MAX_STACK_TRACE_DEPTH 64
|
||||
static unsigned long stack_entries[MAX_STACK_TRACE_DEPTH];
|
||||
struct stack_trace trace = {
|
||||
static struct stack_trace trace = {
|
||||
.max_entries = ARRAY_SIZE(stack_entries),
|
||||
.entries = &stack_entries[0],
|
||||
};
|
||||
|
@ -71,7 +71,7 @@
|
||||
* done, the scaffold structs are no longer needed.
|
||||
*/
|
||||
|
||||
struct klp_patch *lpatch;
|
||||
static struct klp_patch *lpatch;
|
||||
|
||||
static LIST_HEAD(patch_objects);
|
||||
static int patch_objects_nr;
|
||||
|
Loading…
Reference in New Issue
Block a user