Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1824010imm; Mon, 3 Sep 2018 10:22:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYGpOGkUvk+dF1TlZK9I6QwJitlepA44hc2j0KQTmcO8cwWr+TZ2nSWP9xJVpJlCBI7+kPJ X-Received: by 2002:a17:902:a504:: with SMTP id s4-v6mr23092836plq.101.1535995351681; Mon, 03 Sep 2018 10:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995351; cv=none; d=google.com; s=arc-20160816; b=WWKFyhrQO1dZEEYPxz3OFem2xzzbl6kHnf1/5Xh/P3M48FUyJTyFjOImDqnfQvjO3u lst7fyn3ivUeGjQEUcibG99i6Qg7p2iBIYBnMr0ZxbQVyPG/jzNqFCPrpEp0YC6M9X3/ oDjx0GlfFwbKUJHLK3RTNxVTIohqnMITMemnQy0DsQFLa6tohnegr2q1oFMOS36IqgAA tBnpl6SX9zUEkYq+Yngc1me1+Y94VAoOfjONNOTqm8E2OVtTvgNGamyGILkf9gyiE2Vs 1Ua1Ijh12UzYBKb6Qdv1TOpNc2N4cEh9nFNonOji/w9FDcGy0oljkYB3d4JVsGfBRK/4 k1Og== 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=+5Ag/x9zbSGtiAlzrC/9dII/+4Q1XzvmQ8EHPUTBuY8=; b=Hf2GZxpopgwlCpqtXuZIVFQdOa/vTrcHvx+KNyN5P+9suQHsIZftFhSTXocllHRK5E SZWyo0xc8yRPbHJIKVMoLXfz/s5gqgtQQaUCYrw1k5tcuAeUJ3C4fIxpgFoCzjEcyt+i usXvjdUW0tnNBNwPR2Wto3A6xtnfLGPRkGWDGNJFR8Rwj5nAzEwOLbLxhchIqv31YR92 Gg5xZXbnQAGVNL39NbX5kNnUVhbqjERMWpg70uF0VUkwWvXMKRtwI+YUPx6VB+SO9pSm GQMJYSyDdmcW9z34JHt76KvynoLx7op8EwmfYMxNyYlCkaufU4lGKYSvZ3kZ3xSU/KgY e9QA== 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 c15-v6si17065636pls.211.2018.09.03.10.22.15; Mon, 03 Sep 2018 10:22:31 -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 S1730417AbeICVjz (ORCPT + 99 others); Mon, 3 Sep 2018 17:39:55 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43138 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728981AbeICVjy (ORCPT ); Mon, 3 Sep 2018 17:39:54 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A8247D10; Mon, 3 Sep 2018 17:18:49 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , "Steven Rostedt (VMware)" , "David S. Miller" , Sasha Levin Subject: [PATCH 4.14 069/165] sparc/time: Add missing __init to init_tick_ops() Date: Mon, 3 Sep 2018 18:55:55 +0200 Message-Id: <20180903165658.568477969@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165655.003605184@linuxfoundation.org> References: <20180903165655.003605184@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.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: "Steven Rostedt (VMware)" [ Upstream commit 6f57ed681ed817a4ec444e83f3aa2ad695d5ef34 ] Code that was added to force gcc not to inline any function that isn't explicitly declared as inline uncovered that init_tick_ops() isn't marked as "__init". It is only called by __init functions and more importantly it too calls an __init function which would require it to be __init as well. Link: http://lkml.kernel.org/r/201806060444.hdHcKOBy%fengguang.wu@intel.com Reported-by: kbuild test robot Signed-off-by: Steven Rostedt (VMware) Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/sparc/kernel/time_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c @@ -813,7 +813,7 @@ static void __init get_tick_patch(void) } } -static void init_tick_ops(struct sparc64_tick_ops *ops) +static void __init init_tick_ops(struct sparc64_tick_ops *ops) { unsigned long freq, quotient, tick;