Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-20 Thread Rusty Russell
Michal Marek writes: > Dne 20.5.2015 v 13:19 Rusty Russell napsal(a): >> Joe Perches writes: >>> On Tue, 2015-05-19 at 16:56 +0100, One Thousand Gnomes wrote: On Tue, 19 May 2015 07:46:58 +0100 David Woodhouse wrote: > On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: >> c

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-20 Thread Joe Perches
On Wed, 2015-05-20 at 15:25 +0800, Michal Marek wrote: > what makes the dmi tables special? size. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Ple

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-20 Thread Michal Marek
Dne 20.5.2015 v 13:19 Rusty Russell napsal(a): > Joe Perches writes: >> On Tue, 2015-05-19 at 16:56 +0100, One Thousand Gnomes wrote: >>> On Tue, 19 May 2015 07:46:58 +0100 David Woodhouse >>> wrote: On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: > changed dmi_strmatch.substr fro

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-19 Thread Rusty Russell
Joe Perches writes: > On Tue, 2015-05-19 at 16:56 +0100, One Thousand Gnomes wrote: >> On Tue, 19 May 2015 07:46:58 +0100 David Woodhouse >> wrote: >> > On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: >> > > changed dmi_strmatch.substr from char * to char[79]; >> > > >> > > Changing it ba

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-19 Thread Joe Perches
On Tue, 2015-05-19 at 16:56 +0100, One Thousand Gnomes wrote: > On Tue, 19 May 2015 07:46:58 +0100 David Woodhouse > wrote: > > On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: > > > changed dmi_strmatch.substr from char * to char[79]; > > > > > > Changing it back to const char * would shri

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-19 Thread One Thousand Gnomes
On Tue, 19 May 2015 07:46:58 +0100 David Woodhouse wrote: > On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: > > > > changed dmi_strmatch.substr from char * to char[79]; > > > > Changing it back to const char * would shrink an x86-64 > > defconfig more than 100KB. > > > > $ size vmlinux.o

Re: mod_devicetable: Make dmi_strmatch.substr const char *

2015-05-18 Thread David Woodhouse
On Mon, 2015-05-18 at 17:07 -0700, Joe Perches wrote: > > changed dmi_strmatch.substr from char * to char[79]; > > Changing it back to const char * would shrink an x86-64 > defconfig more than 100KB. > > $ size vmlinux.old vmlinux.new > textdata bss dechex filename > 1194172