Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4765183imm; Mon, 14 May 2018 12:38:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpMFhsj5lpfXxT606AE37riIhLt0y4Aj3aItZAtgMJ4NNlqpVX/qfp6z69hV432cNeBH7FS X-Received: by 2002:a17:902:8307:: with SMTP id bd7-v6mr11051762plb.234.1526326697637; Mon, 14 May 2018 12:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526326697; cv=none; d=google.com; s=arc-20160816; b=GlB9Evji3jHl/nhLu4stokPs6tn4a3blmYDcxy1ZOu8TBwUoIdPw8Zc59HeAoH6w1R TtScYZtepyeXHRJQSWnw1yrZtAjhLo412QoxzKQ7CbZ4DZQUAai6fnC82Joy1GpyLCp5 bmEqcr0raJ+tb+KZfVuKzLgy+VBxBVNaJyiVGgG2UvkfR8fx/nMQBiTRPS9a0MXeYFWs pw2V7m3fO/SQX+bMKEHSYjDqLljWOuHxw4lGrxIVrnXVFTusCTw83b6zT6IHuonoMkO3 8sAIF7fnTq5G0AjaBsfGJk9/7u4xMuL0DovYLUCNwjKKisEiGObp0rRSp/ejKpiKhgIW 1I2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:content-language:in-reply-to :user-agent:content-transfer-encoding:mime-version:references :message-id:lines:date:subject:from:to:arc-authentication-results; bh=Ykq+WVCGzv/y89IxN1kamanpri+5SOsa5bDZlrkeAgE=; b=D74zb1RkFRHxhPxSOiSxZseRMoDcMS76tRnbzpWWzYjZvIcvc7SrRpBun63NIGHqWV jKx8pgq1eJIoj7pVjTvEVIivpUNMv3H76s956dpyIUKypAVDv0oEvWZsrsILUHWM3Hlx avcKH28vl+lcEXshHO57hEU4Y+lj/62TI7vYXXWwo4eyc87zbZCMEP/RGsYGQLe++qFE ooW8ns1wkZOd3F48JFVg+TtCeoxnQbOdHepJiGhQJm3yiUj2uVH1j6ekWjhe4nLRMNqd oGQq+MuPk0BL7rN6z7katIQCQrT9Y3a6E0N9pQpxDAqDk9mCIkqIoLyTNEMeRXAQgmO5 N4KQ== 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 j65-v6si8280022pge.336.2018.05.14.12.38.03; Mon, 14 May 2018 12:38:17 -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 S1752102AbeENTht (ORCPT + 99 others); Mon, 14 May 2018 15:37:49 -0400 Received: from [195.159.176.226] ([195.159.176.226]:53032 "EHLO blaine.gmane.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751927AbeENThr (ORCPT ); Mon, 14 May 2018 15:37:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fIJFp-00072U-KD for linux-kernel@vger.kernel.org; Mon, 14 May 2018 21:35:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Christophe Jaillet Subject: Re: [PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()' Date: Mon, 14 May 2018 21:37:38 +0200 Lines: 17 Message-ID: <72339a77-1740-e081-06bc-8295687f80b8@wanadoo.fr> References: <20180512170925.23690-1-christophe.jaillet@wanadoo.fr> <20180514.145642.989041199343505570.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 In-Reply-To: <20180514.145642.989041199343505570.davem@davemloft.net> Content-Language: fr X-Antivirus: Avast (VPS 180514-4, 14/05/2018), Outbound message X-Antivirus-Status: Clean Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 14/05/2018 à 20:56, David Miller a écrit : > From: Christophe JAILLET > Date: Sat, 12 May 2018 19:09:25 +0200 > >> 'out' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. >> >> Signed-off-by: Christophe JAILLET > > Saeed, I assume I will see this in one of your forthcoming pull > requests. > > Thanks. > I've send a v2 with additional 'kvfree()' fixes. CJ