From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224d41P0VDhApy1Jwj9GhelLV7msrBqIa1MBR2PlGN0uBKXRKTrMR41/6AVQLHGPohDzSjlT ARC-Seal: i=1; a=rsa-sha256; t=1518435820; cv=none; d=google.com; s=arc-20160816; b=jdl47+vVwJLWSVpQJF7/k1Z7PCsXOupl+K1BJ57O18KMfXRQzpfWTv5FMavfcmvAuw Pipx7Omx5MbGpfV0KhxX9KM4RjuAi6uiRk4Od8edUySCcacQo/Jceg0xq/ZxJt3WPYDx XRxHeMj2tJmLbDzG4gIbYdEhu3UsELp3N+iIoW2bpGS1TSnQaSSKGJRRHEY/XIsXrC+S oZKvAwHy87mz6oWosnrtt80zSO6m/rv4rdkrg6Ce/yPgygseymBdkdRUL94IxEM+zzjw BHwTUCTLqvkbFZfYlAYSxkIK1fyLuLNnUtl5DuM2+8lNFe8BcQz/j0uBCnK9fCmhA2/W RWjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:user-agent:in-reply-to:content-disposition:mime-version :references:subject:cc:to:from:date:delivered-to:list-id :list-subscribe:list-unsubscribe:list-help:list-post:precedence :mailing-list:arc-authentication-results; bh=hftJI/+FcPVp0sn65VgvnwEERuYAqY/kq7YqwGLxbzs=; b=AK6t32KpgNo6FrgSFJ4w/x0o+aeqGEVxNYkIbkeeQO7AIwAsVt776YKoPf3YWfnWoT AGFhEBOnlJtKS6GCAxKvu6UUpZ2ziRkuFYsjOvj1LWioEGlYO9HGCHclh4G+vZ+KWf1A RyDkElsuhZhYuFVN3B7C0wHXKoqtWsqbrTCQZe3d+jZGDIhmahsfTgmI1IFRnwRhoK9x 8/ZhPIo8++XykVmzdXrz7gBWW0nxLMYhYv017dRGHsUXaQKjecXu5SqlxSQ8BAn9M1lV JShAhK/PoD2MS960qTD8pEU6zkGcJwM5NtGCF0lXEqWRoidU5UpBrE5Tik02YOSOdfQE BGdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of kernel-hardening-return-11717-gregkh=linuxfoundation.org@lists.openwall.com designates 195.42.179.200 as permitted sender) smtp.mailfrom=kernel-hardening-return-11717-gregkh=linuxfoundation.org@lists.openwall.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of kernel-hardening-return-11717-gregkh=linuxfoundation.org@lists.openwall.com designates 195.42.179.200 as permitted sender) smtp.mailfrom=kernel-hardening-return-11717-gregkh=linuxfoundation.org@lists.openwall.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: Date: Mon, 12 Feb 2018 13:43:11 +0200 From: Mike Rapoport To: Igor Stoppa Cc: willy@infradead.org, rdunlap@infradead.org, corbet@lwn.net, keescook@chromium.org, mhocko@kernel.org, labbott@redhat.com, jglisse@redhat.com, hch@infradead.org, cl@linux.com, linux-security-module@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH 4/6] Protectable Memory References: <20180211031920.3424-1-igor.stoppa@huawei.com> <20180211031920.3424-5-igor.stoppa@huawei.com> <20180211123743.GC13931@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18021211-0016-0000-0000-00000521DD51 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021211-0017-0000-0000-0000285E9FF5 Message-Id: <20180212114310.GD20737@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-12_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802120153 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590497635371449856?= X-GMAIL-MSGID: =?utf-8?q?1592195358656126321?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Mon, Feb 12, 2018 at 01:26:28PM +0200, Igor Stoppa wrote: > On 11/02/18 14:37, Mike Rapoport wrote: > > On Sun, Feb 11, 2018 at 05:19:18AM +0200, Igor Stoppa wrote: > > >> + * Return: 0 if the object does not belong to pmalloc, 1 if it belongs to > >> + * pmalloc, -1 if it partially overlaps pmalloc meory, but incorectly. > > > > typo: ^ memory > > thanks :-( > > [...] > > >> +/** > >> + * When the sysfs is ready to receive registrations, connect all the > >> + * pools previously created. Also enable further pools to be connected > >> + * right away. > >> + */ > > > > This does not seem as kernel-doc comment. Please either remove the second * > > from the opening comment mark or reformat the comment. > > For this too, I thought I had caught them all, but I was wrong ... > > I didn't find any mention of automated checking for comments. > Is there such tool? I don't know if there is a tool. I couldn't find anything in scripts, maybe somebody have such tool out of tree. For now, I've added mm-api.rst that includes all mm .c files and run 'make htmldocs' which spits plenty of warnings and errors. > -- > thanks, igor > -- Sincerely yours, Mike.