
2 Aug
2012
2 Aug
'12
7:47 p.m.
On Thursday 02 August 2012 03:16:18 Marek Vasut wrote:
Dear Mike Frysinger,
On Tuesday 31 July 2012 02:37:01 Lukasz Majewski wrote:
--- /dev/null +++ b/common/cmd_dfu.c
- static char *s = "dfu";
no need for this to be static
It can be pulled out of the function and be made into const static
err, there's no point. the static markings here are for the pointer "s", not the stuff it's pointing to "dfu".
use: char s[] = "dfu"; and it'll probably all optimize away correctly -mike