Received: by 10.223.185.116 with SMTP id b49csp1223300wrg; Wed, 21 Feb 2018 14:30:13 -0800 (PST) X-Google-Smtp-Source: AH8x227XdyBu0aABGHXvznIabKIHXbXAAfUi3MtPq5FgSNtom7poLqqqjbmgbgukHYadl+Zh929R X-Received: by 10.167.129.24 with SMTP id b24mr4679658pfi.183.1519252213540; Wed, 21 Feb 2018 14:30:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519252213; cv=none; d=google.com; s=arc-20160816; b=N18Rg0fEuBNLk6RhhE8WDkOkFGRdZkmK3LuKVaqsEUJGOoIhm1KC1J2uWACK2gTZUQ QjxkEK6YklFxVBPHJKCrx595gZqLDuTZf+zixB0ru9YU5SlDv0+AycNVNFk7ms9UYUTr ALxDLsqwg0ELfY4ATk79vLDWM+GnnJ09H9xEgZO1KlK/byX5SCSBtewgTzsHqLONNlb7 e5IOiLYFmJklhBAheBQJbJyz6g5FfZffQHz9i1WUqL/Xr8yLipCQok1OqqZFPJ4nYWxV QMXYk9zIpw6dbgGqYJnFGuaU4/16TiRQYD6Ra2Kvyhrfm6wwNHCz+pvGUzmdVxd9zSEc /Cig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=C0fcIHCjttbewRrhkePkkrffDfGHv9EnXtnJ/NVIYN8=; b=Jhe/gLtg+mH9SvLO7b5eLkOv36wn5LzsFeCMjp6wB5CYIjLWe1L72YO60Gs0lywc/8 VRinozXb+lzulKPdEImE0Y5ra2mVM5VunCU73hXqghLQnuja1MhqQMIXcSep9hSukh7B eLXBAfGa5v45SeOCKws43OQLMELp+6G3ns/eW67mSb60yjHyTzPkWedf0ub5Hw/6W7JH BuPnclVoftnQNBo/JdtUY4WJYl36Kwqg/ccpG+WU4NBYoQtpniSq/iV6uVM3o7uPX/Ls 5shF9MpCMcfwZw11sEXBPxaM7hOfB0Ze6vG5zT05L0D2+LBlDxVSh94ix1VtqbHZFMXx xW4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=r1rBjOG+; dkim=fail header.i=@chromium.org header.s=google header.b=lWulQZV1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v35si1972622pgn.284.2018.02.21.14.29.58; Wed, 21 Feb 2018 14:30:13 -0800 (PST) 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=fail header.i=@google.com header.s=20161025 header.b=r1rBjOG+; dkim=fail header.i=@chromium.org header.s=google header.b=lWulQZV1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751417AbeBUW3N (ORCPT + 99 others); Wed, 21 Feb 2018 17:29:13 -0500 Received: from mail-vk0-f67.google.com ([209.85.213.67]:45573 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329AbeBUW3I (ORCPT ); Wed, 21 Feb 2018 17:29:08 -0500 Received: by mail-vk0-f67.google.com with SMTP id k187so1960851vke.12 for ; Wed, 21 Feb 2018 14:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=C0fcIHCjttbewRrhkePkkrffDfGHv9EnXtnJ/NVIYN8=; b=r1rBjOG+De6pkSQiIuxidz4V4AOvM2hlN6Or/uF5y1LgY8IupC0f/FglgaCfEtyQWl AsxBnlC5hj+clC6D6kXlmTKCGialOmKgamureNa4KwzHZjDcpsnzvtLrmT0qZFitzpzs kPhAOtdmV7rEEbUlCOS5lbhKY4VWZ1FbLaFZZIOlBMvIou/Xn1nTh11L6y/qUmqUf3p5 r5JH7SOibvlF5UpT9Plq61rUi1Q39qNuVEv0g6xAwhJk+KS6o31v5B+AxPZbMSzkisnq 7JJPgXgwmAOLl/QXqVLE8n4JnMQCq0WFDaDNnTu2sVVvlsGNEUsUsCWvbq6FDkNmQs0F kPLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=C0fcIHCjttbewRrhkePkkrffDfGHv9EnXtnJ/NVIYN8=; b=lWulQZV1L+ixMc/x0ZB0SwUUAUALgFzsueq6dGBAvAG0ipRTZyrzicvJjtcpdf8DCw kLC6KL0zEqScJlCsu41D3bnvMUgqrRptSFFU1IAajULMOu0LkEvICu6gJrLa9FUSkRpt JmSUkby+SJhCZ5P5iASi1Zg6eziLgzDjq7a/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=C0fcIHCjttbewRrhkePkkrffDfGHv9EnXtnJ/NVIYN8=; b=U2nl3hFdpzCm6oIwhO57MvnLlf7XSsmgxTLVO0WAH7K9LuOmISILVupIh2mWmryL6m 5aoe7XQss6NQTj+KbIOkjAuh1WJVbwX6jYvQbh8TSyNHY5ri9ihMNcydh6IdL8fXA8gy hrqX2UaAjFDJEVet3frLu6ES3nK+DZfJbfkkzaeBeGPtJvkFpSa7Kod8QsRc14kdhIYG 64uKGhp+dKXcAzPvfXHUru0sopRJ64AhqjLIi7L7ZIN1uJlDm5EIvpf2z7Yi7B8u3TtK JWxLGm2pr2nBvF3LhmBzvKyaTTP5jahZ9pskx+KVySLrcRsvAa7QzxYr/9bo3fHbPHHe M3AA== X-Gm-Message-State: APf1xPAdhClb+JlOaUsKCipXE1Z8TavTB/3Du2F6nSmX2i7XqEWvv/j+ 3saltvNgj3Ju5+cPF8vWeUGgp/hRWpaCDvMErf3U3Q== X-Received: by 10.31.168.20 with SMTP id r20mr3504301vke.149.1519252147415; Wed, 21 Feb 2018 14:29:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.242.140 with HTTP; Wed, 21 Feb 2018 14:29:06 -0800 (PST) In-Reply-To: References: <20180212165301.17933-1-igor.stoppa@huawei.com> <20180212165301.17933-2-igor.stoppa@huawei.com> From: Kees Cook Date: Wed, 21 Feb 2018 14:29:06 -0800 X-Google-Sender-Auth: s9RFmPJ9v-TMiJ77DXayPUeP2CQ Message-ID: Subject: Re: [PATCH 1/6] genalloc: track beginning of allocations To: Igor Stoppa Cc: Matthew Wilcox , Randy Dunlap , Jonathan Corbet , Michal Hocko , Laura Abbott , Jerome Glisse , Christoph Hellwig , Christoph Lameter , linux-security-module , Linux-MM , LKML , Kernel Hardening Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 9:07 AM, Igor Stoppa wrote: > On 13/02/18 01:52, Kees Cook wrote: >> On Mon, Feb 12, 2018 at 8:52 AM, Igor Stoppa wrote: >>> @@ -738,14 +1031,16 @@ EXPORT_SYMBOL(devm_gen_pool_create); >>> >>> #ifdef CONFIG_OF >>> /** >>> - * of_gen_pool_get - find a pool by phandle property >>> + * of_gen_pool_get() - find a pool by phandle property >>> * @np: device node >>> * @propname: property name containing phandle(s) >>> * @index: index into the phandle array >>> * >>> - * Returns the pool that contains the chunk starting at the physical >>> - * address of the device tree node pointed at by the phandle property, >>> - * or NULL if not found. >>> + * Return: >>> + * * pool address - it contains the chunk starting at the physical >>> + * address of the device tree node pointed at by >>> + * the phandle property >>> + * * NULL - otherwise >>> */ >>> struct gen_pool *of_gen_pool_get(struct device_node *np, >>> const char *propname, int index) >> >> I wonder if this might be more readable by splitting the kernel-doc >> changes from the bitmap changes? I.e. fix all the kernel-doc in one >> patch, and in the following, make the bitmap changes. Maybe it's such >> a small part that it doesn't matter, though? > > I had the same thought, but then I would have made most of the kerneldoc > changes to something that would be altered by the following patch, > because it would have made little sense to fix only those parts that > would have survived. > > If it is really a problem to keep them together, I could put these > changes in a following patch. Would that be ok? Hmmm... I think keeping it as-is would be better than a trailing docs-only patch. Maybe Jon has an opinion? -Kees -- Kees Cook Pixel Security