{"id":812240,"url":"http://patchwork.ozlabs.org/api/covers/812240/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/cover/20170911074542.16777-1-nstange@suse.de/","project":{"id":28,"url":"http://patchwork.ozlabs.org/api/projects/28/?format=json","name":"Linux PCI development","link_name":"linux-pci","list_id":"linux-pci.vger.kernel.org","list_email":"linux-pci@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170911074542.16777-1-nstange@suse.de>","list_archive_url":null,"date":"2017-09-11T07:45:39","name":"[0/3] make PCI's and platform's driver_override_store()/show() converge","submitter":{"id":72345,"url":"http://patchwork.ozlabs.org/api/people/72345/?format=json","name":"Nicolai Stange","email":"nstange@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/linux-pci/cover/20170911074542.16777-1-nstange@suse.de/mbox/","series":[{"id":2449,"url":"http://patchwork.ozlabs.org/api/series/2449/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/list/?series=2449","date":"2017-09-11T07:45:39","name":"make PCI's and platform's driver_override_store()/show() converge","version":1,"mbox":"http://patchwork.ozlabs.org/series/2449/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/812240/comments/","headers":{"Return-Path":"<linux-pci-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xrKjW71pLz9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 17:45:51 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751072AbdIKHpt (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tMon, 11 Sep 2017 03:45:49 -0400","from mx2.suse.de ([195.135.220.15]:47679 \"EHLO mx1.suse.de\"\n\trhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP\n\tid S1751017AbdIKHpt (ORCPT <rfc822;linux-pci@vger.kernel.org>);\n\tMon, 11 Sep 2017 03:45:49 -0400","from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 54B7AABB4;\n\tMon, 11 Sep 2017 07:45:47 +0000 (UTC)"],"X-Virus-Scanned":"by amavisd-new at test-mx.suse.de","From":"Nicolai Stange <nstange@suse.de>","To":"Bjorn Helgaas <bhelgaas@google.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>","Cc":"Adrian Salido <salidoa@google.com>, Sasha Levin <sasha.levin@oracle.com>,\n\tlinux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,\n\tNicolai Stange <nstange@suse.de>","Subject":"[PATCH 0/3] make PCI's and platform's\n\tdriver_override_store()/show() converge","Date":"Mon, 11 Sep 2017 09:45:39 +0200","Message-Id":"<20170911074542.16777-1-nstange@suse.de>","X-Mailer":"git-send-email 2.13.5","Sender":"linux-pci-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-pci.vger.kernel.org>","X-Mailing-List":"linux-pci@vger.kernel.org"},"content":"Hi,\n\nboth, drivers/pci/pci-sysfs.c and drivers/base/platform.c implement\na driver_override_store/show() pair which used to coincide between these\ntwo subsystems (up to ->driver_override's storage location).\n\nNow, both have received a fix in the meanwhile which the other subsystem\nlacks each:\n  commit 6265539776a0 (\"driver core: platform: fix race condition with\n                        driver_override\")\nand\n  commit 4efe874aace5 (\"PCI: Don't read past the end of sysfs\n                       \"driver_override\" buffer\")\n\nPort the missing fix to the other subsystem each.\n\nThere's also the style fixup [2/3] which isn't strictly needed but\nwill make both driver_override_show() variants look the same again.\n\nApplies to next-20170908.\n\nNote that checkpatch complains about commit references to the PCI commit\nmentioned above, which is, as I believe, a false positive due to the\nquotation marks in the title.\n\nThanks,\n\nNicolai\n\nNicolai Stange (3):\n  PCI: fix race condition with driver_override\n  PCI: don't use snprintf() in driver_override_show()\n  driver core: platform: Don't read past the end of \"driver_override\"\n    buffer\n\n drivers/base/platform.c |  3 ++-\n drivers/pci/pci-sysfs.c | 11 +++++++++--\n 2 files changed, 11 insertions(+), 3 deletions(-)"}