<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig/confdata.c, branch v2.6.37</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.37</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.37'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-10-27T22:54:25Z</updated>
<entry>
<title>Merge branch 'message-callback' into kbuild/kconfig</title>
<updated>2010-10-27T22:54:25Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-10-27T22:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=70c74e59db7450d5c9164abeb3b6752f8045288b'/>
<id>urn:sha1:70c74e59db7450d5c9164abeb3b6752f8045288b</id>
<content type='text'>
Conflicts:
	scripts/kconfig/nconf.c
</content>
</entry>
<entry>
<title>kconfig: Use PATH_MAX instead of 128 for path buffer sizes.</title>
<updated>2010-10-04T13:40:04Z</updated>
<author>
<name>Will Newton</name>
<email>will.newton@gmail.com</email>
</author>
<published>2010-09-22T14:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1408b15b98635a13bad2e2a50b3c2ae2ccdf625b'/>
<id>urn:sha1:1408b15b98635a13bad2e2a50b3c2ae2ccdf625b</id>
<content type='text'>
This prevents the buffers being overflowed when using a config
file with a long name. PATH_MAX is used elsewhere in the same
file, so use it here as well.

Signed-off-by: Will Newton &lt;will.newton@imgtec.com&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: Don't go out from read config loop when you read new symbol</title>
<updated>2010-09-30T19:59:32Z</updated>
<author>
<name>Naohiro Aota</name>
<email>naota@elisp.net</email>
</author>
<published>2010-09-30T19:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8bea7548ee0223175bea5fddcc54af93bd252d9b'/>
<id>urn:sha1:8bea7548ee0223175bea5fddcc54af93bd252d9b</id>
<content type='text'>
commit 8baefd30b5b0101aa07aa75da44a9eee881eed28 of linux-next replaced
a `switch()' statement with some `if()' statements, but left `break's
in the `switch()' statement untouched. This cause read config loop to
exit and so "make oldconfig" is not much usable (see below).

&gt; $ make oldconfig
&gt;&lt;snip&gt;
&gt; scripts/kconfig/conf --oldconfig Kconfig
&gt; #
&gt; # using defaults found in /boot/config-2.6.34-ccs-r1
&gt; #
&gt; *
&gt; * Restart config...
&gt; *
&gt; *
&gt; * General setup
&gt; *
&gt; Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW)

(I've already have "CONFIG_EXPERIMENTAL=y" in the old config file. But
that's not read here.)

This patch should fix this problem.

Signed-off-by: Naohiro Aota &lt;naota@elisp.net&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: replace KERNELVERSION usage by the mainmenu's prompt</title>
<updated>2010-09-20T02:53:53Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-08-18T05:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0954828fcbf3bd13d593499b16b901a4e801b0b9'/>
<id>urn:sha1:0954828fcbf3bd13d593499b16b901a4e801b0b9</id>
<content type='text'>
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reviewed-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: allow build-time definition of the internal config prefix</title>
<updated>2010-09-19T22:19:26Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-08-15T03:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ffb5957bc48f64f0773fd3fbc43cb9bb9b38e270'/>
<id>urn:sha1:ffb5957bc48f64f0773fd3fbc43cb9bb9b38e270</id>
<content type='text'>
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reviewed-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: replace a `switch()' statement by a more flexible `if()' statement</title>
<updated>2010-09-19T22:19:16Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-08-24T04:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8baefd30b5b0101aa07aa75da44a9eee881eed28'/>
<id>urn:sha1:8baefd30b5b0101aa07aa75da44a9eee881eed28</id>
<content type='text'>
With the upcoming dynamical configuration prefix, we can no longer assume that
the prefix will start by a 'C'. As such, we can no longer hardcode this value in
the `case ...:', so replace the `switch() { ... }' statement by a more flexible
'if () { ... }' statement.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Reviewed-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: Allow frontends to display messages themselves</title>
<updated>2010-08-17T08:21:19Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-08-17T08:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=42368c37fbd51f7b478d041ae55c5df000897158'/>
<id>urn:sha1:42368c37fbd51f7b478d041ae55c5df000897158</id>
<content type='text'>
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: confdata.c explicitly reference errno, thus need &lt;errno.h&gt;</title>
<updated>2010-08-17T07:11:38Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-08-17T05:40:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=94bedeca77bf79a81952ed4c3abb8c1cce4c85dd'/>
<id>urn:sha1:94bedeca77bf79a81952ed4c3abb8c1cce4c85dd</id>
<content type='text'>
This fixes:
% gmake LKC_GENPARSER=1 menuconfig
[...]
scripts/kconfig/confdata.c:739: error: 'errno' undeclared (first use in this function)
scripts/kconfig/confdata.c:739: error: (Each undeclared identifier is reported only once
scripts/kconfig/confdata.c:739: error: for each function it appears in.)
scripts/kconfig/confdata.c:739: error: 'ENOENT' undeclared (first use in this function)

triggered on NetBSD.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: fix savedefconfig with choice marked optional</title>
<updated>2010-08-14T22:32:12Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2010-08-14T21:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=84062dd3a6a045395a43de1d9adc9b8eb2d1426e'/>
<id>urn:sha1:84062dd3a6a045395a43de1d9adc9b8eb2d1426e</id>
<content type='text'>
savedefconfig failed to save the correct minimal config
when it encountered a choice marked optional.

Consider following minimal configuration:
$cat Kconfig
choice
	prompt "choice"
	optional

config A
	bool "a"

config B
	bool "b"

endchoice

$cat .config | grep -v ^#
CONFIG_A=y

$conf --savedefconfig=defconfig Kconfig

would before this fix result in an empty file, because
kconfig would assume that CONFIG_A=y is a default value.
But because the choice is optional the default is that
both A and B are =n.

Fix so we handle optional choices correct.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix warning: ignoring return value of 'fwrite'</title>
<updated>2010-08-12T22:40:26Z</updated>
<author>
<name>Jean Sacren</name>
<email>sakiwit@gmail.com</email>
</author>
<published>2010-08-04T22:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bf5e327a300a9ac959a89440e7c67dc89f3bd804'/>
<id>urn:sha1:bf5e327a300a9ac959a89440e7c67dc89f3bd804</id>
<content type='text'>
This fix facilitates fwrite() in both confdata.c and expr.c, either it
succeeds in writing, or an error occurs, or the end of file is reached.

Signed-off-by: Jean Sacren &lt;sakiwit@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
