History log of /external/kmod/shared/scratchbuf.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b34819bc0e054c7eb8054d763ae9ead4f2c5443a 09-Nov-2016 Yauheni Kaliuta <yauheni.kaliuta@redhat.com> shared: make scratchbuf_str static

It fixes linking problem

tools/depmod.o: In function `output_symbols_bin':
depmod.c:(.text.output_symbols_bin+0x135): undefined reference to `scratchbuf_str'

for -O0 build, where gcc doesn't actually inline it.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
/external/kmod/shared/scratchbuf.h
780a4e97e23f0fe961e29ea3b57f5713cfca73a8 10-Aug-2016 Lucas De Marchi <lucas.demarchi@intel.com> Add scratchbuf implementation

This should fill the requirements for "we need to loop over a lot of
strings that usually are small enough to remain on stack, but we want to
protect ourselves against huge strings not fitting in the static
buffer we estimated as sufficient"
/external/kmod/shared/scratchbuf.h