Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4727507imm; Mon, 14 May 2018 11:57:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZLaTpeDO74EIq5cQiGjF70g5R/LqZff2Wu9VQbjWqwZ8bEakcwU9AAQDFwKOnwy5qB29k X-Received: by 2002:a62:8b07:: with SMTP id j7-v6mr11632302pfe.28.1526324274567; Mon, 14 May 2018 11:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526324274; cv=none; d=google.com; s=arc-20160816; b=s+n9lQZwiin16UuQHmIlMaTJbzf2Kv0kVEK4KJw6l87O9WkmRtYd1Xu6KR0Q+wLLVS +y1+9NRegnKRIMRljbD+HfDZbngkXWPckmMWYZE3Hf6dVUzc11bMpKWFZW8hKkMz4ZdD EpFesVpGe8O0zEmFAEYzDmWEEwabZOgvTEVileoPx/Sx+L987wuibHvbk97dLMY1Aidj tw+tPa47cGAdGZG8/3zDEAI3n4EET/GsUIK4oKymQ4+Ut2RBQ6HY99wyE0rpsuoDG4Tv 3TWXs6+qBuJk4be7lunTU2lPLYXcuL+zZfUDFvX5OBfbW3rzxcfm6Yv3tbK3sTDCZ6nl kKJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=z2K4/nj9LXHjD+vQa746n1I2G2CR5lZshlmRTgegOXc=; b=0z9BKvPNYoMX+RPWoDVTbvKH4v/0Cl0BLHemmWEMbkWrIwgI2Iw3j0nanpmBX4Hram xvEQLizFhFJAlGlgd5Apb1r60uROG5OIoRtpEGoy2jUod0UCkyPcPF5Pe6YzLkqIAmS9 hwozuy17q//waFw+idqcklYbCfozD+10GdkMdKE67Z6/038U1G4I+PHnsjwlaU5tDNbb Nw1Mz8vO+go/jt0x9nmIa1/Mqr4QFRZJM6wJsC4ZU/9fR1/+0tDeXrtlaLhqnUEP55TB IZzX2ykP4ShYEn9i+BO4bm6D/Zs2fOeTWUkAy8j/7RCSMNU4vTTLpuj+YU9LMT0dsqg1 nAFw== 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 s7-v6si7256576pfm.85.2018.05.14.11.57.39; Mon, 14 May 2018 11:57:54 -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 S1752482AbeENS4s (ORCPT + 99 others); Mon, 14 May 2018 14:56:48 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:40154 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbeENS4p (ORCPT ); Mon, 14 May 2018 14:56:45 -0400 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id CF2F913D0F754; Mon, 14 May 2018 11:56:43 -0700 (PDT) Date: Mon, 14 May 2018 14:56:42 -0400 (EDT) Message-Id: <20180514.145642.989041199343505570.davem@davemloft.net> To: christophe.jaillet@wanadoo.fr Cc: saeedm@mellanox.com, matanb@mellanox.com, leon@kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()' From: David Miller In-Reply-To: <20180512170925.23690-1-christophe.jaillet@wanadoo.fr> References: <20180512170925.23690-1-christophe.jaillet@wanadoo.fr> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 14 May 2018 11:56:44 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.