Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3708743imm; Mon, 18 Jun 2018 02:43:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJo3jZab2J0KbASeddowLVls8Jk/JOds/dVAM/DWKuYMmt1hO/oWRHuGskT6VnRgaQoJkZ6 X-Received: by 2002:a62:a104:: with SMTP id b4-v6mr12816912pff.159.1529315027936; Mon, 18 Jun 2018 02:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529315027; cv=none; d=google.com; s=arc-20160816; b=DRByhQ7aewoC9IU8WgOWSR0UAzaZo3sF9saaJxvW/hWJArxv/hJqOnlK7uWxDH2mA/ jQNNBDE7ufHLHP7/1zkPBjXMz0hvbYOFi/E1XuHPuUsLjVcXQUZoKe/bPe3g+8j57lbE AFEfO9orrPvxRSej1o5l3izpPE649aYvXwf/ufc6xXxUm3+FnKtBweI7mCY0ThcUmSON SIz4kAINFEuD/UVEG5nVsIcKvrWM6OoMBQ+619PUiVHasikPpnaQ2gdYG/jBFdVSfk4F 5Y4t4nLR8GTNYQYMKjrhnSgSSzKujeFGD0cGOJxI/k3iZr5zX/j4FJgycXyhXgi8JhbV PX2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=+LmrgC4m7vIBrSGnWzdy5fosPOy4Cg16qNvsPvYZA2E=; b=G7i3RK6CEz4ldunBG8K6CxGHMjOjHcG2KQaT8yCsvaNKAyv72GSmXpqgLueegLx5Rq +fNv19R+Lsqx5r0+tEdIrO7Wtio13zywt5GvCMM1Sjd8AKkH3Py4adL9oO1NCziHqsap sHP4Wn9z/vpAP4UgriJ++AaF7zEPg5633LipROrp1Im0KGtVOCn6cYJXRR8L36VMBvuY fWGa03rta80wSVd0VlWpSdLtLYrxC9QvhhtjGKYgSBR+tVs8ej5d/nxZrnDJBHj7wgMX 0Yj+7awbkSTHye5tV3LgYm2iGG1RHkdotP7okzOwWKSFDVYDy6voZCVIUStdwhj0N/GZ nxxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18-v6si11605822pgv.248.2018.06.18.02.43.33; Mon, 18 Jun 2018 02:43:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935879AbeFRJmx (ORCPT + 99 others); Mon, 18 Jun 2018 05:42:53 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55558 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965435AbeFRIWc (ORCPT ); Mon, 18 Jun 2018 04:22:32 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8BFA1C8D; Mon, 18 Jun 2018 08:22:31 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller , Sasha Levin Subject: [PATCH 4.16 158/279] parisc: drivers.c: Fix section mismatches Date: Mon, 18 Jun 2018 10:12:23 +0200 Message-Id: <20180618080615.364939415@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618080608.851973560@linuxfoundation.org> References: <20180618080608.851973560@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Helge Deller [ Upstream commit b819439fea305a0bfd6ca23a7994fd1a8847c0d8 ] Fix two section mismatches in drivers.c: 1) Section mismatch in reference from the function alloc_tree_node() to the function .init.text:create_tree_node(). 2) Section mismatch in reference from the function walk_native_bus() to the function .init.text:alloc_pa_dev(). Signed-off-by: Helge Deller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/parisc/kernel/drivers.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/arch/parisc/kernel/drivers.c +++ b/arch/parisc/kernel/drivers.c @@ -448,7 +448,8 @@ static int match_by_id(struct device * d * Checks all the children of @parent for a matching @id. If none * found, it allocates a new device and returns it. */ -static struct parisc_device * alloc_tree_node(struct device *parent, char id) +static struct parisc_device * __init alloc_tree_node( + struct device *parent, char id) { struct match_id_data d = { .id = id, @@ -825,8 +826,8 @@ void walk_lower_bus(struct parisc_device * devices which are not physically connected (such as extra serial & * keyboard ports). This problem is not yet solved. */ -static void walk_native_bus(unsigned long io_io_low, unsigned long io_io_high, - struct device *parent) +static void __init walk_native_bus(unsigned long io_io_low, + unsigned long io_io_high, struct device *parent) { int i, devices_found = 0; unsigned long hpa = io_io_low;