From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com ([209.85.212.180]:33374 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbbEBFZ4 (ORCPT ); Sat, 2 May 2015 01:25:56 -0400 Received: by wief7 with SMTP id f7so42788948wie.0 for ; Fri, 01 May 2015 22:25:55 -0700 (PDT) Message-ID: <55445FDD.8020804@gmail.com> Date: Sat, 02 May 2015 07:25:49 +0200 From: Dirk Behme MIME-Version: 1.0 To: stable@vger.kernel.org, Zefan Li Subject: 3.4.107: Wrong back port of "PCI: Handle read-only BARs on AMD CS553x devices"? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: Hi, from a private 3.4.107 review I've got the comment that PCI: Handle read-only BARs on AMD CS553x devices https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=d4e393820d2ed20fc6a4088f3eda44458764d997 might be wrongly back ported to 3.4.107: The problem is that the prototype of pcibios_bus_to_resource() was changed by commit fc27985 "PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev" in v3.14, but this commit was not back ported to the v3.4.y stable series [1]. Best regards Dirk [1] drivers/pci/quirks.c: In function ‘quirk_io’: drivers/pci/quirks.c:351:26: warning: passing argument 1 of ‘pcibios_bus_to_resource’ from incompatible pointer type pcibios_bus_to_resource(dev->bus, res, &bus_region); ^ In file included from drivers/pci/quirks.c:21:0: include/linux/pci.h:653:6: note: expected ‘struct pci_dev *’ but argument is of type ‘struct pci_bus *’ void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, ^