<?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 mem.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5a12cbf26134d417531289e89375bbe580803dec - rust: missed rustfmt fix up in rust/kernel/mem.rs</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/mem.rs#5a12cbf26134d417531289e89375bbe580803dec</link>
        <description>rust: missed rustfmt fix up in rust/kernel/mem.rsMiguel had mentioned this rustfmt issue, but I overlooked this one whendoing the driver core merge.Make rustfmt happy again.Reminded-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux/rust/kernel/mem.rs</description>
        <pubDate>Thu, 22 Oct 2026 19:03:40 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614 - Merge tag &apos;driver-core-7.4-rc1&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/mem.rs#7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614</link>
        <description>Merge tag &apos;driver-core-7.4-rc1&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-corePull driver core updates from Danilo Krummrich: &quot;Core:   - Add TAINT_FORCED_BIND to taint the kernel and driver module before     manual sysfs bind/unbind operations; make add_taint_module()     available to driver core and update taint decoding tools and     documentation   - Constify device_show/store_*() attribute parameters and adapt x86     MCE and perf users to prepare for const dev_ext_attribute instances   - Fix UAF in NUMA access node registration failure handling by     dropping the device reference with put_device() instead of directly     freeing the node  debugfs:   - Make debugfs_create_str() read-only to eliminate double-free races     between concurrent writers; reject writable modes; convert     interconnect and SoundWire users to local file operations with     mutex-protected strings  kobject:   - Fix out-of-bounds access in kobject_action_type() when parsing     action strings containing embedded NUL bytes   - Fix the kobject_set_name() reference in kset_register() kernel-doc  Rust:   - DMA:      - Tie Coherent, CoherentBox and CoherentHandle to the device&apos;s        bound lifetime to prevent retaining DMA allocations beyond        driver unbind; propagate the lifetime through nova-core and the        DMA sample driver   - I/O:      - Require explicit base types for registers and replace relative        registers with typed subregion projections; reimplement        register!() as a proc macro, support registers using existing        types without inline bitfields, and convert nova-core, Tyr and        the PCI sample; add AsRepr/AsReprMut and transmute helpers with        deferred size checks for representation conversions      - Wrap ResourceSize in a transparent newtype with explicit        conversions, including checked conversion to usize   - PCI:      - Add typed PCIe extended capability lookup and SR-IOV accessors        for the First VF Offset and decoded VF BAR addresses and widths,        keeping raw SR-IOV registers private to preserve PCI core        ownership of their state   - scatterlist:      - Honor the device&apos;s maximum segment size as well as the DMA        mapping limit when constructing SG tables      - Return u32 from SGEntry::dma_len() to match the C segment length        type   - misc:      - Validate auxiliary DeviceId name length explicitly to improve        compile-time diagnostics for oversized device ID table entries      - Drop unnecessary &apos;static bounds from debugfs ScopedDir file        creation methods to support data containing non-&apos;static        references, including DMA buffers  Misc:   - Add Johan Hovold as driver core maintainer   - Simplify platform_device_alloc() by returning early on allocation     failure   - Fix typos in driver core and kernfs comments&quot;* tag &apos;driver-core-7.4-rc1&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core: (41 commits)  rust: pci: add extended capability and SR-IOV support  kobject: Fix the kobj_set_name reference in kset_register() kernel-doc  rust: io: convert ResourceSize into a transparent newtype  rust: scatterlist: return u32 from SGEntry::dma_len()  MAINTAINERS: add myself as driver core maintainer  debugfs: make debugfs_create_str() read-only  soundwire: debugfs: replace writable string helper  interconnect: debugfs: replace writable string helper  docs: admin-guide: Handle TAINT_FORCED_BIND when parsing /proc/sys/kernel/tainted  driver core: platform: Simplify platform_device_alloc()  kobject: fix out-of-bounds access in kobject_action_type()  rust: scatterlist: honor the device&apos;s maximum segment size  driver core: add TAINT_FORCED_BIND for when userspace manually messes with devices and drivers  module: fix up documentation for add_taint() and add_taint_module()  module: pull out add_taint_module() to be public  driver core: Constify the signature of device_show/store_*()  drivers: perf: Use __DEVICE_ATTR() macro to initialize dev_ext_attribute  x86/mce: Use __DEVICE_ATTR() macro to initialize dev_ext_attribute  rust: auxiliary: validate DeviceId name length  driver core: fix typos in comments  ...

            List of files:
            /linux/rust/kernel/mem.rs</description>
        <pubDate>Thu, 22 Oct 2026 06:53:14 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>948440b3f429f84680db58b4bf529b1ed2a20e15 - rust: mem: add `Align` type</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/mem.rs#948440b3f429f84680db58b4bf529b1ed2a20e15</link>
        <description>rust: mem: add `Align` typeRust&apos;s `repr(align())` only works with integers. Add an `Align` type so itcan also be specified via const generics.Signed-off-by: Gary Guo &lt;gary@garyguo.net&gt;Reviewed-by: Andreas Hindborg &lt;a.hindborg@kernel.org&gt;Link: https://patch.msgid.link/20260610-const-align-v2-1-ccd12f0aedb7@garyguo.net[ Adjusted the title of the new module to match the one used in patch  &quot;rust: mem: add `transmute` with deferred size check&quot; (landing via  driver-core), which is also closer to the upstream standard library  title. - Miguel ]Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;

            List of files:
            /linux/rust/kernel/mem.rs</description>
        <pubDate>Wed, 10 Jun 2026 13:42:22 +0200</pubDate>
        <dc:creator>Gary Guo &lt;gary@garyguo.net&gt;</dc:creator>
    </item>
<item>
        <title>ef605a433d80987e97fcf62a41bdf437abc61e2c - rust: mem: add `AsRepr` and `AsReprMut`</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/mem.rs#ef605a433d80987e97fcf62a41bdf437abc61e2c</link>
        <description>rust: mem: add `AsRepr` and `AsReprMut`Some API like atomics and I/O operate on primitives only; therefore othertypes would need to converted to these primitive first. Add two traits`AsRepr` and `AsReprMut` to indicate that the type can be turned into aprimitive for these operations.`T: AsRepr` means that `&amp;T` can be viewed as `&amp;T::Repr` and thus it needsto support transmutability in one direction. `T: AsReprMut` means that`&amp;mut T` can be viewed as `&amp;mut T::Repr` and thus it needs to supportbi-directional transmutability.To avoid duplicating implementations, all repr types are normalized tounsigned integers.Signed-off-by: Gary Guo &lt;gary@garyguo.net&gt;Reviewed-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;Tested-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;Acked-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;Link: https://patch.msgid.link/20260901-typed_register-v4-3-5552b1d59525@garyguo.net[ Fix grammar in from_repr_unchecked() documentation, rephrase confusing  safety comment, use rustdoc links for Self, fix backtick formatting in  comments and use consistent &apos;must&apos; wording in safety sections.  - Danilo ]Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;

            List of files:
            /linux/rust/kernel/mem.rs</description>
        <pubDate>Tue, 01 Sep 2026 18:50:27 +0200</pubDate>
        <dc:creator>Gary Guo &lt;gary@garyguo.net&gt;</dc:creator>
    </item>
<item>
        <title>1fc1f82756b1ff872c04950747925f7dcf5c1d8a - rust: mem: add `transmute` with deferred size check</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/kernel/mem.rs#1fc1f82756b1ff872c04950747925f7dcf5c1d8a</link>
        <description>rust: mem: add `transmute` with deferred size checkImplement a `transmute/safe_transmute` that checks size atmonomorphization time instead of type-checking time. This allows more caseswhere we know that the size matches but this is not generically checkable.The signature is equivalent to the unstable `transmute_neo` function in thestandard library. A safe variant is provided to use with types implementing`FromBytes` and `IntoBytes`.Existing users of `transmute_copy` to bypass size checks are converted.Signed-off-by: Gary Guo &lt;gary@garyguo.net&gt;Reviewed-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;Tested-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;Acked-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;Link: https://patch.msgid.link/20260901-typed_register-v4-2-5552b1d59525@garyguo.net[ Fix doc heading to use plural &quot;Examples&quot;, add missing closing code  block delimiter and fix a few other nits. - Danilo ]Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;

            List of files:
            /linux/rust/kernel/mem.rs</description>
        <pubDate>Tue, 01 Sep 2026 18:50:26 +0200</pubDate>
        <dc:creator>Gary Guo &lt;gary@garyguo.net&gt;</dc:creator>
    </item>
</channel>
</rss>
