From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754826AbcHVJrI (ORCPT ); Mon, 22 Aug 2016 05:47:08 -0400 Received: from ou.quest-ce.net ([195.154.187.82]:40996 "EHLO ou.quest-ce.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbcHVJrH (ORCPT ); Mon, 22 Aug 2016 05:47:07 -0400 Message-ID: <1471859215.2764.24.camel@opteya.com> From: Yann Droneaud To: SF Markus Elfring , Joe Perches Cc: linux-rdma@vger.kernel.org, Doug Ledford , Hal Rosenstock , Sean Hefty , LKML , kernel-janitors@vger.kernel.org, Julia Lawall Date: Mon, 22 Aug 2016 11:46:55 +0200 In-Reply-To: <5e87f691-edb9-0a12-ff7a-59854c2ca2f8@users.sourceforge.net> References: <566ABCD9.1060404@users.sourceforge.net> <1471802623.3746.1.camel@perches.com> <683187e0-2e6a-88c0-f87a-9c5f0489370a@users.sourceforge.net> <1471809188.3746.18.camel@perches.com> <5e87f691-edb9-0a12-ff7a-59854c2ca2f8@users.sourceforge.net> Organization: OPTEYA Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.4 (3.20.4-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 80.12.91.199 X-SA-Exim-Mail-From: ydroneaud@opteya.com Subject: Re: IB/core: Fine-tuning for ib_is_udata_cleared() X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on ou.quest-ce.net) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le dimanche 21 août 2016 à 22:15 +0200, SF Markus Elfring a écrit : > > > > > > > > > > > > > Don't introduce a defect in patch 1 and correct > > > > that introduced defect in patch 2. > > > Which detail do you not like here? > > > > See above. > > This feedback is not clearer. > It's clear enough: your second patch fixes an issue you introduced in your first patch by removing the code which made use of the ret initialization value: -       if (copy_from_user(buf, p, len)) -               goto free; > I find that the two update steps should work in principle, > shouldn't they? > It would be better to squash them here. Regards. --  Yann Droneaud OPTEYA