Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2646327imm; Tue, 4 Sep 2018 07:51:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaAGgcYcJWYmCfMs9n5N3FrK4vcB0agi2MO2nOriWyOp9/6V1orkrYJIoy2N74fiSw36EJx X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr33537504plk.272.1536072711739; Tue, 04 Sep 2018 07:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536072711; cv=none; d=google.com; s=arc-20160816; b=TghI37/OWszUWqGezaBU7wEUllj7lJzeHQwuBlAhcxTzy1VR5cnX1HC46BcTxRxoIj 3lQfT0VhCrL+OVMVrSAjkxgE0OR3qhgodMwJueY7hh9hxrAOYSY3KjdMpYOMk/LF0s/H KEHZ4NvFK0Gzna5/vcvND0GrxbbG+nN01GjlJJSLeVe8keyanXSHDoapNrN2SDMT1Has feR028lC7xlyoT9MxoilEmFCoZ37rwJMSbuvV6Ji9hdSV5Ic4LBbis6ouIsToIDwAoEC w1vEuqNXTPFjBH6kkd7q9COU7n0eqcWHd9+MNGn5zCjU5FgaUFgJeUsDWJibrr1fySy/ PfHg== 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 :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=rVgjm5M9ehrIWMv+phe4UXH3ataZb5SmU+ZvW+JXfkE=; b=ttR2PsOPw1pKG0YOIlmzzs375BlrvZeHVDVzW2I9srHy84yW5fzl3MR/wepEmy0CXz YZje+voxvDY7W0MCKDAq71q5Uc6MANNLOtOGUbGQhWrIRjtLmMfxwVXNSE/AYtUfpHnD HG5APBtIGV9d5WCayDQ1amik2958ZuFyJFYLwxIZdmsoUqWuP/9g6z50UdiCPv9KWgLr TayW4H90XG93hiVrLnA2e2+1U1jfZgEzP0cgaI/Nm7ouIqSVf6eqxo7yXQ3f3i2Ncy+p w+Tr0sIHT4/bA/YGFc0mZIx7scvzLxEclxoeQDzljYaKPfnm6cRRRKpuSNtAmik+X7PK OC0w== 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 y141-v6si23884937pfb.331.2018.09.04.07.51.35; Tue, 04 Sep 2018 07:51:51 -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 S1727142AbeIDTPc (ORCPT + 99 others); Tue, 4 Sep 2018 15:15:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:35530 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726004AbeIDTPc (ORCPT ); Tue, 4 Sep 2018 15:15:32 -0400 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 6C866B047; Tue, 4 Sep 2018 14:50:06 +0000 (UTC) Date: Tue, 4 Sep 2018 16:50:05 +0200 (CEST) From: Miroslav Benes To: Petr Mladek cc: Jiri Kosina , Josh Poimboeuf , Jason Baron , Joe Lawrence , Jessica Yu , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v12 09/12] livepatch: Remove Nop structures when unused In-Reply-To: <20180828143603.4442-10-pmladek@suse.com> Message-ID: References: <20180828143603.4442-1-pmladek@suse.com> <20180828143603.4442-10-pmladek@suse.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +void klp_free_objects_dynamic(struct klp_patch *patch) should be static. > +{ > + __klp_free_objects(patch, false); > +} > + Miroslav