diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2017-02-08 14:27:31 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-10 13:28:04 +1100 |
commit | 30176466e36aadba01e1a630cf42397a3438efa4 (patch) | |
tree | a03b2557593bb3624565fd8cc0d806dd13e5804e /lib | |
parent | ebfa50df435eed18e1389a43e0596246228e7298 (diff) |
powerpc/kprobes: Fixes for kprobe_lookup_name() on BE
Fix two issues with kprobes.h on BE which were exposed with the
optprobes work:
- one, having to do with a missing include for linux/module.h for
MODULE_NAME_LEN -- this didn't show up previously since the only
users of kprobe_lookup_name were in kprobes.c, which included
linux/module.h through other headers, and
- two, with a missing const qualifier for a local variable which ends
up referring a string literal. Again, this is unique to how
kprobe_lookup_name is being invoked in optprobes.c
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions