Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3654857pxv; Mon, 19 Jul 2021 05:46:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUhZADNjFZ24WqnLFJGO7xnJEXCeo5zzoUNlChX2rqKa43xDnXZZqYangAca88Ba0I8xu/ X-Received: by 2002:a02:a80f:: with SMTP id f15mr21778956jaj.142.1626698765518; Mon, 19 Jul 2021 05:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626698765; cv=none; d=google.com; s=arc-20160816; b=IS2//tNoUwk43MRnYLlAf8DVmds4jReENtfGnVQ3mHu5fxwKSVhpVAVexv4kzS0icS aE9X48WBylVffiZv+7J5cROEF4rN06Y9kAQk3xtD+ZZFl4C0+slze2l7D2Vy6FJXTJAH HrBOU/vaZjLXI/Fs+qCxU3/dPdoI8FlGsLNFeF6f9vwQBveHDu7dvX3AcwsgFipw+XF+ G1u/Wduz/4ZriO7KGlZU4fpAolBVQrSEoRVhIKKq4Mu2s7wrU4GM0PbSaBRIeCovpvNE /H62Nn3jO6JommQAjz7CcwZ7FHA76w5II2mOoja8cqb6xR4R6f1tJZM0FB/l/1GAriLm P50Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tGkUUStChLCXt1Uh1220a9d3L35+2D4Hyrolq+19Nbc=; b=ELFB18DB5qddoYNmOD5xxNMCQoUsq50X4VuWIGiFnpCICKKbaFMC59D/WLOpIu+lGr 8GKjnaVsDSbU8eSJIbPhnRWzLB10R1YOtNjCerF9+Azw3D7kWO/OvOsCEtOO/1TQ5sbO qeVF405QqfdSQPypeileod4KDJjQ375+n48xISmc7OPKEZfsyy2Pm+0w0XQriDYcNc5x u4QX6e86ZL+eD7bPmgF+OVnE8P94cFD4RFEzOJeCDo9iyVpTtOOjAv5LU49Hxq8NOG7U ACfdT+isN3OqED7jyYStw5Qb8m1frYZy2UvuiI8NQNQsdkHSBJO7aGNi3Bp7MpyDgMMh XF/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FesO4hgZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si9975213ile.132.2021.07.19.05.45.52; Mon, 19 Jul 2021 05:46:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FesO4hgZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236916AbhGSMEU (ORCPT + 99 others); Mon, 19 Jul 2021 08:04:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236571AbhGSMET (ORCPT ); Mon, 19 Jul 2021 08:04:19 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 359C3C061574 for ; Mon, 19 Jul 2021 05:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tGkUUStChLCXt1Uh1220a9d3L35+2D4Hyrolq+19Nbc=; b=FesO4hgZXSGsqrTOY4GPu4RWOC xFyqdunUnk/ncfxgNVnYtdkBcOYownzTEQi5Kq1h7NqnJ9lRRtZc/KsLHP3Kl4BgF+vmVWjxP7MZv exMfmFqQ9fSstaNshZwpG3XayTQHDR8p0NlVQsA9F+5rzpSZsJF7/6kdgUXPcHS6zfnzA0eOtZEN1 ABaFWiBAXuEEEWgWahlL3FCEfPYBQg2vIobdIjp682bb7X99Z7hgH6n6rZeT40Erxuh9QFqhSgT0+ 8fUaTaz3BWRCN28WocOT3Q2LMF9uHbTZblywfZikEQn5l2pf+ny8LK3ifaCRV6cJKi7V+hYg/rGnT Jqgaks9Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5SdD-006r45-0z; Mon, 19 Jul 2021 12:44:32 +0000 Date: Mon, 19 Jul 2021 13:44:22 +0100 From: Matthew Wilcox To: Andy Shevchenko Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH v1 1/1] mm/util: Rephrase documentation for kmemdup_nul() to clarify input Message-ID: References: <20210719122002.41334-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210719122002.41334-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 19, 2021 at 03:20:02PM +0300, Andy Shevchenko wrote: > kmemdup_nul() strictly speaking is not related to the string API, > while being quite useful for it. Rephrase documentation to make it > clear that input data can be anything (any data, which may contain > any bytes, including 0x00). That's not a useful thing to do, though. This rephrasing you've done is more confusing than the original.