Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2314692imu; Sun, 27 Jan 2019 02:09:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN7rWfTWgODOij39ampa6GGHwbNXTsyTVhx8btAtJKd2h85rydT2ans/ZefTJRJwFS0WEVXZ X-Received: by 2002:a17:902:9897:: with SMTP id s23mr17011790plp.69.1548583751515; Sun, 27 Jan 2019 02:09:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548583751; cv=none; d=google.com; s=arc-20160816; b=UanLthHhuDh/Nj9ABfmX15Fgwcq9Dyk1VCgkJo3xfThhGLMjffi0VDJOeExvrOmozL 7BDq3APHakuYpk0s43y62xbaKnQI8pNH3qBevf17kxnzNiB72XlbQ7zf+UEzaGdDT7g4 kksQYAEQURH189a9nlna/h4muGiJyXUjahwbM8qOkCVkW52t/vHMDCmywMSQXYAKJTM2 wTIP6t2eIy454yfAJEsbY5MKWz2gaJIxm0q6SFzLPh+DeK+nEYByeJ5NGQQDSwpEueTR GEPEjr18FV/RTZ98FkeH7NaiFOWS7A4cMxnJPQnGCQusdtLNNdnqYe+tOb9cK/PpacdM OfHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=6gd91E069uaZNKb6Jju5bRqszRVMb4Vbhd1Q4o/D6tI=; b=L2Th62yxXoPElmMVKIfUv13gOpD1p6AZ7MKW1YlgUCpxflMr/nyumi9MPILiBojjPd fT1WuMs98HkRj4FIfkHbKe4AjJaejkM+IfhalWuC5Jvcg6IPclWa9kbzrdDADHc2Yp6l qqtFedHx6g0768HR42VA15nOejMkzlk8gtbof9fyUYaijLhC/iBR2lfpRwBX0c5klNgy F1tKf4p6i0oIAnWFDPFlCX4y76u2Jo0FPdk7ajxSbtSqSLatzNqG/Sz7YkTPvRowPRBK 0g9jsGdLRlFfJ3CEwQfwawNNgpvjp6M8LderzW0fG0/i1oNTVslrZx4pkh1OGIy/1wlo 8Arg== 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 89si29680103pfr.242.2019.01.27.02.08.28; Sun, 27 Jan 2019 02:09:11 -0800 (PST) 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 S1726671AbfA0KI0 (ORCPT + 99 others); Sun, 27 Jan 2019 05:08:26 -0500 Received: from 178.115.242.59.static.drei.at ([178.115.242.59]:40343 "EHLO mail.osadl.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfA0KIZ (ORCPT ); Sun, 27 Jan 2019 05:08:25 -0500 Received: by mail.osadl.at (Postfix, from userid 1001) id 94A955C0FEA; Sun, 27 Jan 2019 11:08:04 +0100 (CET) Date: Sun, 27 Jan 2019 11:08:04 +0100 From: Nicholas Mc Guire To: Jiri Kosina Cc: Nicholas Mc Guire , Josh Poimboeuf , Jessica Yu , Miroslav Benes , Petr Mladek , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4] livepatch: non static warnings fix Message-ID: <20190127100804.GA32729@osadl.at> References: <1548294496-22719-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 04:44:18PM +0100, Jiri Kosina wrote: > On Thu, 24 Jan 2019, Nicholas Mc Guire wrote: > > > Sparse reported warnings about non-static symbols. For the variables > > a simple static attribute is fine - for the functions referenced by > > livepatch via klp_func the symbol-names must be unmodified in the > > symbol table and the patchable code has to be emitted. The resolution > > is to attach __used attribute to the shared statically declared functions. > > > > Signed-off-by: Nicholas Mc Guire > > Suggested-by: Joe Lawrence > > Acked-by: Miroslav Benes > > Link: https://lore.kernel.org/lkml/1544965657-26804-1-git-send-email-hofrat@osadl.org/ > > I've reordered the tags :) and applied. Thanks, > thx for your patience - I?ll try getting this streight a bit faster next time thx! hofrat