Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2024144ybe; Tue, 3 Sep 2019 07:00:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuJw3027iZ/Id+tWryIpKD7xZNqCclBZ0El5X39FkTvrW/DgKSlX1oUEjgCFjerz176hz4 X-Received: by 2002:a63:ee08:: with SMTP id e8mr31057157pgi.70.1567519227987; Tue, 03 Sep 2019 07:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567519227; cv=none; d=google.com; s=arc-20160816; b=iUGN1v+7gm3fTImTeCgzt76ICHMh+0tcgZdsBObjQ5j76x1TfEuTlqtVNPUS+7CTfg bnTbJS77wraIrK+PdzR1oXnx4hMFo8OQTTLZ0J/3ib58eyxF4VyGnKGP5H54v7tPuG1y FNypyqc0JjP1P6sbWApAuPccLx8kjwGvtUgGzCG31q4hqMVWq2cYs9WtFaO/UP7xrdfM 8NDncQ5tBktS4tPsgkxhWEo0ZgGKhEDNWawVuo7cUe+9nUji/r3jnBstTSlIaJPX2p94 okMVUfE8HAYTbuLCDk0/RaPnE2YlFsSSUu89v5PrWSTiJ4V3p2sOWBVL9jizbaGau3wN 8BaA== 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:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=EdokIz+lUxlMJ4BVk5Yj9ZWc7fOocxc86/vAA1Ve9dc=; b=agNW7Hlf0hWWzdc5frF7hwMxFbriwEyhxzUpJQuNCQDP4xaM9NmqJyInHe+eU0N7BA 6N7/I1ifQnCAS6zMD7iMOPw2WNEA00B3soJGPMCFkVPdYumaoEWM5CGMz6dW9r8Fnm6i qb6p3An4pBsMzfx807auvEhsUd6wSxhcBN4gAX7SKk4v2I9DE6ISOmleY8XUHIMlMlB2 Fyx6W9OqYCo3jzdBEcWQaxUphCZmSoc2kZiapjcweSdq5NZaEprLlLHGcmIs/u+B1Ubs 5CeTwr6OjP21Tcji+SRSsn8KQPMAUlKCtvGRFrdHyoblTisZRgPwijn/6VtmI3sSiHXb ZXNw== 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 z9si14871531plo.66.2019.09.03.07.00.12; Tue, 03 Sep 2019 07:00:27 -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 S1729296AbfICN6A (ORCPT + 99 others); Tue, 3 Sep 2019 09:58:00 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5733 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727107AbfICN6A (ORCPT ); Tue, 3 Sep 2019 09:58:00 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 7C8D5F910AFE46A19A58; Tue, 3 Sep 2019 21:57:53 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Tue, 3 Sep 2019 21:57:50 +0800 Message-ID: <5D6E715E.2070602@huawei.com> Date: Tue, 3 Sep 2019 21:57:50 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Bob Copeland CC: , Fuqian Huang Subject: Re: [PATCH] fs: omfs: Use kmemdup rather than duplicating its implementation in omfs_get_imap References: <1567492784-19304-1-git-send-email-zhongjiang@huawei.com> <20190903132532.GB5280@localhost> In-Reply-To: <20190903132532.GB5280@localhost> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/9/3 21:25, Bob Copeland wrote: > On Tue, Sep 03, 2019 at 02:39:44PM +0800, zhong jiang wrote: >> kmemdup contains the kmalloc + memcpy. hence it is better to use kmemdup >> directly. Just replace it. >> >> Signed-off-by: zhong jiang > This same patch was already sent to me by someone else and I acked it: > > https://lore.kernel.org/lkml/20190703163158.937-1-huangfq.daxian@gmail.com/ > I miss the patch. Thanks, Sincerely, zhong jiang