<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in variable_length_array.j2</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>663ad8b1 - xdrgen: Fix return code checking in built-in XDR decoders</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_array.j2#663ad8b1</link>
        <description>xdrgen: Fix return code checking in built-in XDR decodersxdr_stream_encode_u32() returns XDR_UNIT on success.xdr_stream_decode_u32() returns zero or -EMSGSIZE, but neverXDR_UNIT.Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;

            List of files:
            /linux-6.15/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_array.j2</description>
        <pubDate>Tue, 10 Sep 2024 19:31:19 +0000</pubDate>
        <dc:creator>Chuck Lever &lt;chuck.lever@oracle.com&gt;</dc:creator>
    </item>
<item>
        <title>4b132aac - tools: Add xdrgen</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_array.j2#4b132aac</link>
        <description>tools: Add xdrgenAdd a Python-based tool for translating XDR specifications into XDRencoder and decoder functions written in the Linux kernel&apos;s C codingstyle. The generator attempts to match the usual C coding style ofthe Linux kernel&apos;s SunRPC consumers.This approach is similar to the netlink code generator intools/net/ynl .The maintainability benefits of machine-generated XDR code include:- Stronger type checking- Reduces the number of bugs introduced by human error- Makes the XDR code easier to audit and analyze- Enables rapid prototyping of new RPC-based protocols- Hardens the layering between protocol logic and marshaling- Makes it easier to add observability on demand- Unit tests might be built for both the tool and (automatically)  for the generated codeIn addition, converting the XDR layer to use memory-safe languagessuch as Rust will be easier if much of the code can be convertedautomatically.Tested-by: Jeff Layton &lt;jlayton@kernel.org&gt;Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;

            List of files:
            /linux-6.15/tools/net/sunrpc/xdrgen/templates/C/union/decoder/variable_length_array.j2</description>
        <pubDate>Fri, 13 Sep 2024 18:08:13 +0000</pubDate>
        <dc:creator>Chuck Lever &lt;chuck.lever@oracle.com&gt;</dc:creator>
    </item>
</channel>
</rss>
