s390/dis: use explicit buf len
Pass buffer length in extra parameter. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
08b4212456
commit
0bcc94baca
@@ -161,7 +161,8 @@ extern unsigned long thread_saved_pc(struct task_struct *t);
|
||||
|
||||
extern void show_code(struct pt_regs *regs);
|
||||
extern void print_fn_code(unsigned char *code, unsigned long len);
|
||||
extern int insn_to_mnemonic(unsigned char *instruction, char buf[8]);
|
||||
extern int insn_to_mnemonic(unsigned char *instruction, char *buf,
|
||||
unsigned int len);
|
||||
|
||||
unsigned long get_wchan(struct task_struct *p);
|
||||
#define task_pt_regs(tsk) ((struct pt_regs *) \
|
||||
|
Reference in New Issue
Block a user