Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2584220imu; Mon, 17 Dec 2018 04:37:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xs2M4iNV/Ln2Ly6QNapHo2CBdWakcEI34vVynSq25V7+1npJ0GcxDf5bgNCFdWYT4OqMhS X-Received: by 2002:a63:a553:: with SMTP id r19mr11979451pgu.53.1545050267368; Mon, 17 Dec 2018 04:37:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545050267; cv=none; d=google.com; s=arc-20160816; b=SDo9sucHySVLsE8ZxJf2JyqykvsBuP1h2im2a2ZdKOXRnBazhMRonWKc0etrdNzivN iSVX2dec52pyOv8geMmqLKYgd9GGr/UmOcZgI9jbX2AGNqIrpWkFuhom2NHNKuGOzDiy jP/qF3BXISPHV87q+jiS/HM9VzxzXQOgfUZSVTFjFRyhtBXVSRmNKe4tbUcE9+yK1DR5 c16WaowmSY5GBv7uA8or32rDojs2Hy2hZoIvRU1g0KQyESD4D0qG9cDKTFtYkStPz2Ed qt3qplnd3QezVy3u4qmCCYnmEMdw3LN+K/SHHKatx7JJw4rOt2B6jWcdgQJfasuGubeX UNCw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=V3FOz9+TOzLc9Wl0dsJvdpHTiHmOzTS5YUhVYGOx6Ig=; b=Ei3lF4nXSCrUzU7XqpjNagZ5zzTaighXH9eonq8CsE4gIQubo8gm+T9qCVsb933zvr nPlc7w0UeGTFvx4qAYPHN2QpG9SWIISatyehJGi0vXan3u0woZJrCOjWpRdGrIFqhrm8 o3ziD2IjAyHU0fmZS/bIj93+A82ihO1LQbOD4M1MjEs30wD/1eEcuW4b5NcFRVaHG7Mw /bWgQ19I94Bi5wPwbRaO2w4opDtJqPv6pdS5LHVenfmcLC2tX0FZ6SI0IErWuRmC3r5Q 8aH3Vvok9PIi0CF0rd9sncKgD4fiJKyQqj95CYFcHKU0AVsWKBkiKD57CVrmjPSEzK1n ohbw== 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 s123si10998234pfb.274.2018.12.17.04.37.32; Mon, 17 Dec 2018 04:37:47 -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 S1732613AbeLQMDT (ORCPT + 99 others); Mon, 17 Dec 2018 07:03:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:57552 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726831AbeLQMDT (ORCPT ); Mon, 17 Dec 2018 07:03:19 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B5CBBAE88; Mon, 17 Dec 2018 12:03:17 +0000 (UTC) Date: Mon, 17 Dec 2018 13:03:17 +0100 From: Petr Mladek To: Nicholas Mc Guire Cc: Josh Poimboeuf , Jessica Yu , Jiri Kosina , Miroslav Benes , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] livepatch: fix non-static warnings Message-ID: <20181217120317.yhbvdavcau3wykzd@pathway.suse.cz> References: <1544965657-26804-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1544965657-26804-1-git-send-email-hofrat@osadl.org> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 2018-12-16 14:07:37, Nicholas Mc Guire wrote: > Sparse reported warnings about non-static symbols. For the variables > a simple static attribute is fine - for those symbols referenced by > livepatch via klp_func the symbol-names must be unmodified in the > symbol table - to resolve this the __noclone attribute is used > for the shared statically declared functions. > > Signed-off-by: Nicholas Mc Guire > Suggested-by: Joe Lawrence > Link: https://lkml.org/lkml/2018/12/13/827 This is misleading. The "Link:" tag should point to the mail where the commited version of the patch was being discussed. It can be added by the maintainer. Also please do not use links to https://lkml.org. Messages disappear from time to time. It is much better to use the redirector: https://lkml.kernel.org/r/ Best Regards, Petr PS: I was about to add Reviewed-by tag. But Miroslav (sitting next to me) found out that __noclone was not the best solution. I suggest to always wait few days between re-sending a new version. This subsystem has many active reviewers ;-)