lkml.org 
[lkml]   [2007]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] remove usage of memmem from scripts/kallsyms.c
Date
On Tuesday 19 June 2007, Paulo Marques wrote:
> The only in-kernel user of "memmem" is scripts/kallsyms.c and it only
> uses it to find tokens that are 2 bytes in size. It is trivial to
> replace it with a simple function that finds 2-byte tokens.
>
> This should help users from systems that don't have the memmem GNU
> extension available.
>
> Signed-off-by: Paulo Marques <pmarques@grupopie.com>

sorry for not getting back to you in the previous thread ... this is a much
nicer patch than what i proposed and works for me :)

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-06-19 19:45    [W:0.131 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site