[mmotm:master 251/287] lib/test-string_helpers.c:293:1: warning: the frame size of 1316 bytes is larger than 1024 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   8f1fc64dc9b39fedb7390e086001ce5ec327e80d
commit: 626105764fd29c75bd8b01d36b54d0aaca61ac36 [251/287] lib / string_helpers: introduce string_escape_mem()
config: make ARCH=i386 allyesconfig

All warnings:

   lib/test-string_helpers.c: In function 'test_string_escape':
>> lib/test-string_helpers.c:293:1: warning: the frame size of 1316 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +293 lib/test-string_helpers.c

   277				continue;
   278	
   279			/* Copy string to in buffer */
   280			len = strlen(s2->in);
   281			memcpy(&in[p], s2->in, len);
   282			p += len;
   283	
   284			/* Copy expected result for given flags */
   285			len = strlen(out);
   286			memcpy(&out_test[q_test], out, len);
   287			q_test += len;
   288		}
   289	
   290		q_real = string_escape_mem(in, p, &buf, q_real, flags, esc);
   291	
   292		test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, q_test);
 > 293	}
   294	
   295	static __init void test_string_escape_nomem(void)
   296	{
   297		char *in = "\eb \\C\007\"\x90\r]";
   298		char out[64], *buf = out;
   299		int rc = -ENOMEM, ret;
   300	
   301		ret = string_escape_str_any_np(in, &buf, strlen(in), NULL);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]