Re: [PATCH] cmd: eeprom: don't truncate target address at 32-bit

2022-11-03 Thread Tom Rini
On Sun, Oct 23, 2022 at 12:28:12PM +0300, Baruch Siach wrote: > On 64-bit platforms where int is 32-bit wide, the eeprom command > parse_numeric_param() routine truncates the memory address parameter to > the lower 32-bit. Make parse_numeric_param() return long to allow > read/write of addresses b

Re: [PATCH] cmd: eeprom: don't truncate target address at 32-bit

2022-10-23 Thread Ramon Fried
On Sun, Oct 23, 2022 at 12:28 PM Baruch Siach wrote: > > On 64-bit platforms where int is 32-bit wide, the eeprom command > parse_numeric_param() routine truncates the memory address parameter to > the lower 32-bit. Make parse_numeric_param() return long to allow > read/write of addresses beyond t

[PATCH] cmd: eeprom: don't truncate target address at 32-bit

2022-10-23 Thread Baruch Siach
On 64-bit platforms where int is 32-bit wide, the eeprom command parse_numeric_param() routine truncates the memory address parameter to the lower 32-bit. Make parse_numeric_param() return long to allow read/write of addresses beyond the lower 4GB. Signed-off-by: Baruch Siach --- cmd/eeprom.c |