lkml.org 
[lkml]   [2017]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/3] make PCI's and platform's driver_override_store()/show() converge
    Date
    Hi,

    both, drivers/pci/pci-sysfs.c and drivers/base/platform.c implement
    a driver_override_store/show() pair which used to coincide between these
    two subsystems (up to ->driver_override's storage location).

    Now, both have received a fix in the meanwhile which the other subsystem
    lacks each:
    commit 6265539776a0 ("driver core: platform: fix race condition with
    driver_override")
    and
    commit 4efe874aace5 ("PCI: Don't read past the end of sysfs
    "driver_override" buffer")

    Port the missing fix to the other subsystem each.

    There's also the style fixup [2/3] which isn't strictly needed but
    will make both driver_override_show() variants look the same again.

    Applies to next-20170908.

    Note that checkpatch complains about commit references to the PCI commit
    mentioned above, which is, as I believe, a false positive due to the
    quotation marks in the title.

    Thanks,

    Nicolai

    Nicolai Stange (3):
    PCI: fix race condition with driver_override
    PCI: don't use snprintf() in driver_override_show()
    driver core: platform: Don't read past the end of "driver_override"
    buffer

    drivers/base/platform.c | 3 ++-
    drivers/pci/pci-sysfs.c | 11 +++++++++--
    2 files changed, 11 insertions(+), 3 deletions(-)

    --
    2.13.5

    \
     
     \ /
      Last update: 2017-09-11 09:46    [W:2.352 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site