Re: [Qemu-devel] [PATCH] implement strnlen for systems that need it

2017-10-20 Thread Stefan Hajnoczi
On Thu, Oct 19, 2017 at 09:50:05PM -0400, John Arbuckle wrote: Which repo does this patch apply to? Please add a tag in the email subject like "[libfdt]" to distinguish it from qemu.git patches. > Signed-off-by: John Arbuckle > --- > Makefile.dtc | 3 ++- > libfdt/Makefile.libfdt |

Re: [Qemu-devel] [PATCH] implement strnlen for systems that need it

2017-10-20 Thread David Gibson
On Thu, Oct 19, 2017 at 09:50:05PM -0400, John Arbuckle wrote: > Signed-off-by: John Arbuckle I preferred the idea of just putting it inline into libfdt_env.h. They're both ugly, but that one's small and ugly; the approach here seems overkill. Also, patch submissions for dtc and libfdt should go

[Qemu-devel] [PATCH] implement strnlen for systems that need it

2017-10-19 Thread John Arbuckle
Signed-off-by: John Arbuckle --- Makefile.dtc | 3 ++- libfdt/Makefile.libfdt | 2 +- libfdt/libfdt_env.h| 12 libfdt/strnlen.h | 14 ++ strnlen.c | 25 + 5 files changed, 54 insertions(+), 2 deletions(-) create