From patchwork Tue Jan 15 16:35:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taehee Yoo X-Patchwork-Id: 1025312 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="O6WfXMgZ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43fGD668j6z9sD9 for ; Wed, 16 Jan 2019 03:35:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731620AbfAOQfd (ORCPT ); Tue, 15 Jan 2019 11:35:33 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43881 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728546AbfAOQfb (ORCPT ); Tue, 15 Jan 2019 11:35:31 -0500 Received: by mail-pg1-f194.google.com with SMTP id v28so1440373pgk.10 for ; Tue, 15 Jan 2019 08:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=BxdRblWOd+wFm60/QYCz36cQTj07E/sPsvvAm91B14A=; b=O6WfXMgZgCwP7/QlvSApoXVhDNXRlDZqs6S0IfZSOza7VBMGnzTVwlB7fBr+lP96hd Cjv79pDLoY8nxFV5JlKBOUzy/hxjhovnAjW2vkVKWBMqQfj+tJkJr2L2dsCbsMfLtQSs NKOB48zc4odnDSJbVOznVoMQL/jivmEZoPYL9Rrtt1ycwSh1Ccv7+PrwUMwkH/jL3eD/ kSgFdd6AFSs994gCVDGjm5/9V3Pqkc92a1z4o2Qy0QzNY4DicpjfDdPsOqabcVrJx8u5 YWTcPpDS8UjgXwkWiBeHppnePQqHb+u9+S6g6khe0p6vZ6Uw1RUmvaeJ2PTA3nStA1nr rHEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BxdRblWOd+wFm60/QYCz36cQTj07E/sPsvvAm91B14A=; b=tkx87GPhlDwXnl7AdpS/mWFQLWi4/yzbuc2IWPiKuxQ6CvxR6GXYgk4zuoqREQm3Z1 X4Ax5s8LqcDzGtb0HmDj/+yUDDlGmZrlYFQsZ3tmEcLnpBIqgw/5xuzoYz6sLjfP3S4D N0z1lxE9WOFMJwA2uUq2qEljqYnHg77f/sYv0dwV+1aAxR52P8pEEcXn4UcS5fJwaCZx cQHn5RcM34nLjzwQURrthC2Zkjn4FLW1+XmB9+4JMN+NJ6xfjrq1G2z+MlnWppuxBz21 D2GUhngYjOfHqDJPDPqj9iA1S5bgTAgyXV3PdyibMygzk2TNv2hg9SZEDb905lhGyqIE 9QnA== X-Gm-Message-State: AJcUukcp+W6gGggq5kTbGQNVqvQEB6u368HeBzl1zVqrjVx7lNZnUyIC GjX0S/JwQKuiq5CdMC7sipE= X-Google-Smtp-Source: ALg8bN44JOmWwpHoJpmYTHhsWJ4YinnD3cBS2B/HCQxqt3CyTRQMStRtgfSpTxrC+QD4WumFQCiNpQ== X-Received: by 2002:a63:df50:: with SMTP id h16mr4558778pgj.421.1547570130820; Tue, 15 Jan 2019 08:35:30 -0800 (PST) Received: from ap-To-be-filled-by-O-E-M.8.8.8.8 ([14.33.120.60]) by smtp.gmail.com with ESMTPSA id 85sm5458260pfw.17.2019.01.15.08.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 08:35:30 -0800 (PST) From: Taehee Yoo To: davem@davemloft.net, netdev@vger.kernel.org Cc: daniel@iogearbox.net, ast@kernel.org, sfr@canb.auug.org.au, ap420073@gmail.com Subject: [PATCH net] net: bpfilter: change section name of bpfilter UMH blob. Date: Wed, 16 Jan 2019 01:35:22 +0900 Message-Id: <20190115163522.31918-1-ap420073@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The section of bpfilter UMH blob is the ".bpfilter_umh". but this is not an explicit section. so linking warning occurred at compile time for the powerpc. So, this patch makes use of the ".rodata" instead of the ".bpfilter_umh". Config condition: CONFIG_BPFILTER=y CONFIG_BPFILTER_UMH=y Result: ld: warning: orphan section `.bpfilter_umh' from `net/bpfilter/bpfilter_umh_blob.o' being placed in section `.bpfilter_umh' Fixes: 61fbf5933d42 ("net: bpfilter: restart bpfilter_umh when error occurred") Reported-by: Stephen Rothwell Signed-off-by: Taehee Yoo --- net/bpfilter/bpfilter_umh_blob.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bpfilter/bpfilter_umh_blob.S b/net/bpfilter/bpfilter_umh_blob.S index 7f1c521dcc2f..9ea6100dca87 100644 --- a/net/bpfilter/bpfilter_umh_blob.S +++ b/net/bpfilter/bpfilter_umh_blob.S @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 */ - .section .bpfilter_umh, "a" + .section .rodata, "a" .global bpfilter_umh_start bpfilter_umh_start: .incbin "net/bpfilter/bpfilter_umh"