<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in expected_defconfig</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>dbe1ae2304a3b02c3bf6ae82895ff232a29f3fee - kconfig: fix extra output from savedefconfig on out-of-range defaults</title>
        <link>http://kernelsources.org:8080/source/history/linux/scripts/kconfig/tests/savedefconfig_range/expected_defconfig#dbe1ae2304a3b02c3bf6ae82895ff232a29f3fee</link>
        <description>kconfig: fix extra output from savedefconfig on out-of-range defaultsThe Kconfig interpreter currently allows defaults that are outside of therange bounds.In these cases, the &apos;sym_validate_range&apos; function will adjust the defaultvalue to the nearest range bound. For example, see this example:  config A    int    range 1 2    default 16Here, since the default value of 16 is greater than the bounds, theeffective default value gets adjusted down to the upper bound, 2.However, &apos;savedefconfig&apos; writes non-default values, and without beingaware of the automatic adjustment to the range bound, it would write: A=2This limitation is also documented in a comment: &quot;The following fails tohandle the situation where a default value is further limited by the validrange.&quot;To resolve this, let&apos;s factor out the default-range adjustment logic fromthe existing &apos;sym_validate_range&apos; function into its own&apos;sym_get_near_range_bound&apos; function for &apos;savedefconfig&apos; to use too, sothat it compares against the effective value.Adds tests, accordingly.Fixes: 7cf3d73b4360 (&quot;kconfig: add savedefconfig&quot;)Assisted-by: Codex:gpt-5.6-solReported-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;Closes: https://lore.kernel.org/lkml/CAMuHMdVyUAA3L4mUkSjmnuE3cvj-+N8z-Bhxsh1wa-FQWc=fjw@mail.gmail.com/Signed-off-by: Julian Braha &lt;julianbraha@gmail.com&gt;Tested-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://patch.msgid.link/20260830221129.2668354-1-julianbraha@gmail.comSigned-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;

            List of files:
            /linux/scripts/kconfig/tests/savedefconfig_range/expected_defconfig</description>
        <pubDate>Mon, 31 Aug 2026 00:11:29 +0200</pubDate>
        <dc:creator>Julian Braha &lt;julianbraha@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
