Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3351489imm; Sun, 13 May 2018 09:23:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoue8hw/OjVbvTPgJ6YpF2F9IJdC6XO0K/imG70IAe4vH9b8UpSPpfnZZUwzmOBIHRlDx1G X-Received: by 2002:a63:7119:: with SMTP id m25-v6mr5720899pgc.55.1526228580879; Sun, 13 May 2018 09:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526228580; cv=none; d=google.com; s=arc-20160816; b=vGmIGSb6iW8kjLGLrnhXjzs+NZno7pH1UArR9MiEmBgTacu6dHY8hjlNeRg2gWVvaN Ul23q/T7fb3JpzdEZxxwCxy4oFqhST4NaUDO74RYTxnZqT46/Qw71H8nvVDrLXZg11RW gbBS18sonHfvJSYm+pFCarkjGGGK0IqzLT0G5dKSY1M853loWbzh3HPTFJvp+17I3/M2 QGMmNnizp8BmCwkX0yC85eyy6pHJoNipfsyN4wQjs2a4dX8FaGoSXXhmdcVEmJpgGWrv bnbp03kFW6JwZHCOB3GgI1znKv4naGVf6gbKU+LXrnXcqsLez0OQrQS5SverUHU20xez skXg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=f3iyydLI7Grzas5y9lYgvMcLaHDAClgVc/aCKNTwA1E=; b=gcFz+Zj5T4OivH355uU3RJR5mCTKFW1HrjtVlvXN2Ev8yABULKGKBre/wRq8PicXj5 8W8cyM+U8JgzQGh4vxOWlaN5wrKb77FU/ne3xBp3iIXXV5IUgGs9CbN2+goN8vKGFler VpUHaqbc4mmGN48n18I7dIcxPepHvqc5vmnG6GCBS3Tx1cA+7wzatNUJwmWJpQM2BW8E BDtisId7/lfbuwnTt8Gqg30PIZBhPA+/txIWgPkEkO3IniBxKSUOKaevUBc22o3ssCCD 831J2q3+OsWCTU0xC4J/1H+AZONUwXwKOsVH41pi00kQh0TdG5qH3ZmZENl9wEfEGJzW 4kNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jxr38qBf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w25-v6si5984988pgv.526.2018.05.13.09.22.46; Sun, 13 May 2018 09:23:00 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jxr38qBf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751989AbeEMQWS (ORCPT + 99 others); Sun, 13 May 2018 12:22:18 -0400 Received: from mail-pl0-f43.google.com ([209.85.160.43]:40586 "EHLO mail-pl0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926AbeEMQV3 (ORCPT ); Sun, 13 May 2018 12:21:29 -0400 Received: by mail-pl0-f43.google.com with SMTP id t12-v6so5979604plo.7; Sun, 13 May 2018 09:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=f3iyydLI7Grzas5y9lYgvMcLaHDAClgVc/aCKNTwA1E=; b=Jxr38qBf4wtaqJGT9NccHj877Ym/KRPQ1+Ou6uVDzFSjEFIRvLqI2/7BsmvWTP3JFd JFwTKgolni7eDQ/bEwSMRAzTnzDJ1g85LeVXm10iUKgFAD91gUacs6a7TNV+P/o5TQgQ NhnaOH9kU6CE3EKnv9EpQuHnkc1prTAd4v8AP7SASjN97yG7lpl1ZBV18pHmhhwq834m cjO8JEjJhJBFiH2xM6rmuTo89Cv/1qV1ClcS37fOpKMlTSQjZyAqTrWm7VgopoaOSepa rjsa93erOQIFNHgTgiHZewPcrH9Bcwws8R/M9vFfCf6CcPfcl+CeR8Y8ID1qgFqZlL3s q6bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=f3iyydLI7Grzas5y9lYgvMcLaHDAClgVc/aCKNTwA1E=; b=m3+q2BTNHF5aWHt9/og5RsJjpusW7lau11lFOXmuu4dESJQQC5damXihC1GuhtEQHI 2jSLTfhgzZ65/vSxhdd3I53YsEjP7wTNDgFkUHIqVzB5hZ7TpwP4Z3UMIj4QBUnPJrqQ 6X6fQOznROs9GGHueJ/ZUcGjuo9dPfn0Juaum9yJmmHRuXsmQubd906ZCDK+Oh/Ew/PJ V9K82bg1/zMl7FB/SZWET37396jdMwERcrgErP738KyIThlBwrhHFgBy1f5MZp596ez2 wjITubH7O2Q9p1G7sVmQNIZrqTXzHJBbD1xnuqH3UNFvmBdMMD1/BR1qS25Ya1ftQkoc 6qAg== X-Gm-Message-State: ALKqPwd1SilgT7KoHlFxaFGXisU9QcsVcYmYjkF9BcZ/TsUxU208Hjth /PM1hTNDOrTYCpXtQiO3dcPeW2jp X-Received: by 2002:a17:902:bc4c:: with SMTP id t12-v6mr6494447plz.331.1526228488611; Sun, 13 May 2018 09:21:28 -0700 (PDT) Received: from [192.168.86.235] (c-67-180-167-114.hsd1.ca.comcast.net. [67.180.167.114]) by smtp.gmail.com with ESMTPSA id o190-v6sm20527pga.20.2018.05.13.09.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 May 2018 09:21:27 -0700 (PDT) Subject: Re: [PATCH v2] {net, IB}/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()' To: Christophe JAILLET , saeedm@mellanox.com, matanb@mellanox.com, leon@kernel.org, dledford@redhat.com, jgg@ziepe.ca, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <20180513070041.24246-1-christophe.jaillet@wanadoo.fr> From: Eric Dumazet Message-ID: <91c6f7a0-e099-5b93-1b3a-f16f650adc2e@gmail.com> Date: Sun, 13 May 2018 09:21:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180513070041.24246-1-christophe.jaillet@wanadoo.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/13/2018 12:00 AM, Christophe JAILLET wrote: > When 'kvzalloc()' is used to allocate memory, 'kvfree()' must be used to > free it. > > Signed-off-by: Christophe JAILLET > --- > v1 -> v2: More places to update have been added to the patch Please add relevant Fixes: tag(s)