<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig/expr.h, branch v3.4.19</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/kconfig/expr.h?h=v3.4.19</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/kconfig/expr.h?h=v3.4.19'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-01-14T23:17:18Z</updated>
<entry>
<title>kbuild: Fix compiler warning with assertion when calling 'fwrite'</title>
<updated>2012-01-14T23:17:18Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-11-23T18:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=37ae2d5998aa29d8bf52f124199a21341bc6d18d'/>
<id>urn:sha1:37ae2d5998aa29d8bf52f124199a21341bc6d18d</id>
<content type='text'>
Reinhard Tartler discovered a corner case of calling xfwrite() where the
length of the string is zero.

Arnaud Lacombe suggested to use assertion for the corner case, as
fwrite(3) is currently used:

 1) in comment printers. Empty comment are not allowed.
 2) in a callback passed to expr_print(), where the string printed is
    either NULL OR non-empty.
 3) in the lexer, auto-generated, and unused.

I feel using assertion is a good solution:

 1) It cleanly takes care of the above-mentioned corner case.
 2) It can be easily disabled by defining NDEBUG.
 3) It asserts xfwrite() is simply a wrapper for fwrite().

Reported-by: Reinhard Tartler &lt;Reinhard.Tartler@informatik.uni-erlangen.de&gt;
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Signed-off-by: Jean Sacren &lt;sakiwit@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: nuke reference to SWIG</title>
<updated>2011-06-06T19:32:18Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-06-01T20:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=84250386efa581fdf5578b68b9dd6b79998ac48d'/>
<id>urn:sha1:84250386efa581fdf5578b68b9dd6b79998ac48d</id>
<content type='text'>
SWIG is not used (yet?) to create kconfig binding, so there is no point
referencing it.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kconfig: get rid of unused flags</title>
<updated>2011-04-15T13:12:57Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@anciens.enib.fr</email>
</author>
<published>2011-02-24T18:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2b2112f617e8ca600ec24271c93bbd49aa2acce4'/>
<id>urn:sha1:2b2112f617e8ca600ec24271c93bbd49aa2acce4</id>
<content type='text'>
Now that we detect recusrion of sourced files, get rid of
now unused flags.

Regenerate lex.zconf.c_shipped file.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@anciens.enib.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6</title>
<updated>2011-01-10T16:28:17Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-01-10T16:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f28b1c8aaa97a68028bb894bffb1690185c62b01'/>
<id>urn:sha1:f28b1c8aaa97a68028bb894bffb1690185c62b01</id>
<content type='text'>
* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
  nconf: handle comment entries within choice/endchoice
  kconfig: fix warning
  kconfig: Make expr_copy() take a const argument
  kconfig: simplify select-with-unmet-direct-dependency warning
  kconfig: add more S_INT and S_HEX consistency checks
  kconfig: fix `zconfdebug' extern declaration
  kconfig/conf: merge duplicate switch's case
  kconfig: fix typos
  kbuild/gconf: add dummy inline for bind_textdomain_codeset()
  kbuild/nconf: fix spaces damage
  kconfig: nuke second argument of conf_write_symbol()
  kconfig: do not define AUTOCONF_INCLUDED
  kconfig: the day kconfig warns about "select"-abuse has come
</content>
</entry>
<entry>
<title>kconfig: fix warning</title>
<updated>2010-12-27T20:46:47Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-12-23T08:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0597fcd08b858df83b9f20afd6035311d92c48f8'/>
<id>urn:sha1:0597fcd08b858df83b9f20afd6035311d92c48f8</id>
<content type='text'>
In file included from scripts/kconfig/zconf.tab.c:2502:
scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
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: Make expr_copy() take a const argument</title>
<updated>2010-12-21T16:59:16Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-12-20T15:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=17742dc743716eebbf5892add0e0bf91f541fc39'/>
<id>urn:sha1:17742dc743716eebbf5892add0e0bf91f541fc39</id>
<content type='text'>
Fixes
scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: add an option to determine a menu's visibility</title>
<updated>2010-11-22T13:27:17Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-11-06T21:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=86e187ff9bce9fbed7bfed92ae34f491cf1af50f'/>
<id>urn:sha1:86e187ff9bce9fbed7bfed92ae34f491cf1af50f</id>
<content type='text'>
This option is aimed to add the possibility to control a menu's visibility
without adding dependency to the expression to all the submenu.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Tested-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kbuild/rc-fixes' into kbuild/kconfig</title>
<updated>2010-10-12T13:09:06Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-10-12T13:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=239060b93bb30a4ad55f1ecaa512464a035cc5ba'/>
<id>urn:sha1:239060b93bb30a4ad55f1ecaa512464a035cc5ba</id>
<content type='text'>
We need to revert the temporary hack in 71ebc01, hence the merge.
</content>
</entry>
<entry>
<title>kconfig: delay symbol direct dependency initialization</title>
<updated>2010-10-04T13:13:13Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-09-26T20:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ff5ff6060bf880aac233e68dd666cbe9e39ec620'/>
<id>urn:sha1:ff5ff6060bf880aac233e68dd666cbe9e39ec620</id>
<content type='text'>
This fixes the use-after-free and associated crash in kconfig introduced
in commit 246cf9c26bf11f2bffbecea6e5bd222eee7b1df8.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: constify file name</title>
<updated>2010-09-20T02:54:00Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-09-04T20:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2e7a091833f014cac8a6b92573ca6cd2edd2753c'/>
<id>urn:sha1:2e7a091833f014cac8a6b92573ca6cd2edd2753c</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>
</feed>
