Re: Byte Sized task (was Re: [PATCH] linux-user/syscall.c: malloc to g_try_malloc)

2022-01-10 Thread John Snow
On Thu, Jan 6, 2022 at 9:10 AM Laurent Vivier wrote: > Hi Ahmed, > > the email address you use for the trivial ML is broken. I've fixed it for > my answer and added > qemu-devel. > > Le 05/01/2022 à 20:09, Ahmed Abouzied a écrit : > > Hello, > > > > Thanks for the review. I also found some occurr

Byte Sized task (was Re: [PATCH] linux-user/syscall.c: malloc to g_try_malloc)

2022-01-06 Thread Laurent Vivier
Hi Ahmed, the email address you use for the trivial ML is broken. I've fixed it for my answer and added qemu-devel. Le 05/01/2022 à 20:09, Ahmed Abouzied a écrit : Hello, Thanks for the review. I also found some occurrences of "cpu_physical_memor_*" calls that should be replaced with "addre

Re: [PATCH] linux-user/syscall.c: malloc to g_try_malloc

2022-01-05 Thread Laurent Vivier
Le 04/01/2022 à 15:38, Ahmed Abouzied a écrit : Use g_try_malloc instead of malloc to alocate the target ifconfig. Also replace the corresponding free with g_free. Signed-off-by: Ahmed Abouzied --- Hello, I noticed that there was a `malloc` call in this file. It seems that it was added by the

[PATCH] linux-user/syscall.c: malloc to g_try_malloc

2022-01-04 Thread Ahmed Abouzied
Use g_try_malloc instead of malloc to alocate the target ifconfig. Also replace the corresponding free with g_free. Signed-off-by: Ahmed Abouzied --- Hello, I noticed that there was a `malloc` call in this file. It seems that it was added by the commit 22e4a267 (3 years ago) which was after th