Re: [PATCH] load_elf: Remove unused address variables from callers

2020-09-25 Thread Alistair Francis
On Wed, Sep 23, 2020 at 2:15 PM BALATON Zoltan wrote: > > On Tue, 7 Jul 2020, BALATON Zoltan wrote: > > On Tue, 7 Jul 2020, Alistair Francis wrote: > >> On Sun, Jul 5, 2020 at 10:41 AM BALATON Zoltan wrote: > >>> Several callers of load_elf() pass pointers for lowaddr and highaddr > >>> parameter

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-09-23 Thread BALATON Zoltan via
On Wed, 23 Sep 2020, BALATON Zoltan wrote: On Tue, 7 Jul 2020, BALATON Zoltan wrote: On Tue, 7 Jul 2020, Alistair Francis wrote: On Sun, Jul 5, 2020 at 10:41 AM BALATON Zoltan wrote: Several callers of load_elf() pass pointers for lowaddr and highaddr parameters which are then not used for an

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-09-23 Thread BALATON Zoltan via
On Tue, 7 Jul 2020, BALATON Zoltan wrote: On Tue, 7 Jul 2020, Alistair Francis wrote: On Sun, Jul 5, 2020 at 10:41 AM BALATON Zoltan wrote: Several callers of load_elf() pass pointers for lowaddr and highaddr parameters which are then not used for anything. This may stem from a misunderstandin

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-07-07 Thread Max Filippov
On Sun, Jul 5, 2020 at 10:40 AM BALATON Zoltan wrote: > > Several callers of load_elf() pass pointers for lowaddr and highaddr > parameters which are then not used for anything. This may stem from a > misunderstanding that load_elf need a value here but in fact it can > take NULL to ignore these v

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-07-07 Thread BALATON Zoltan
On Tue, 7 Jul 2020, Alistair Francis wrote: On Sun, Jul 5, 2020 at 10:41 AM BALATON Zoltan wrote: Several callers of load_elf() pass pointers for lowaddr and highaddr parameters which are then not used for anything. This may stem from a misunderstanding that load_elf need a value here but in fa

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-07-07 Thread Alistair Francis
On Sun, Jul 5, 2020 at 10:41 AM BALATON Zoltan wrote: > > Several callers of load_elf() pass pointers for lowaddr and highaddr > parameters which are then not used for anything. This may stem from a > misunderstanding that load_elf need a value here but in fact it can > take NULL to ignore these v

Re: [PATCH] load_elf: Remove unused address variables from callers

2020-07-05 Thread David Gibson
On Sun, Jul 05, 2020 at 07:22:11PM +0200, BALATON Zoltan wrote: > Several callers of load_elf() pass pointers for lowaddr and highaddr > parameters which are then not used for anything. This may stem from a > misunderstanding that load_elf need a value here but in fact it can > take NULL to ignore

[PATCH] load_elf: Remove unused address variables from callers

2020-07-05 Thread BALATON Zoltan
Several callers of load_elf() pass pointers for lowaddr and highaddr parameters which are then not used for anything. This may stem from a misunderstanding that load_elf need a value here but in fact it can take NULL to ignore these values. Remove such unused variables and pass NULL instead from ca