Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2388475pxa; Fri, 7 Aug 2020 09:55:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/eZErOAzHLDN8fKFICzl3JNYFQt/GjL76r7joUVY+7MnmVKpzrm/RRvNuxk4HhorY9Q6w X-Received: by 2002:a50:fb10:: with SMTP id d16mr9831035edq.134.1596819305586; Fri, 07 Aug 2020 09:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596819305; cv=none; d=google.com; s=arc-20160816; b=sKpfsWlNEUMfJTpvpH3kTxeXV8xdIHw8XvxlCge7Fxz9FE4tSB6m5Sp+EnnnG+5b4M fZnk16GwsKGnbs41/S/E0Pf8izMf6qbWtQ0cGk00OpZbFbqyMBMWdqpQ5sBg1Z1ezNBr C9HFOSMuZbyxbDShWeXDUwaLBolBb0T/kEzB798kRnblJt5PE6u2rXVouELKNd0TdBl1 CN726RB9XN4Wb+9a3irht/qyWEr00DmXwd7LUQgWj029aGrBlstDz1qL+dX3LEPFhonJ nuwr6te/HWc4ck0JMFk73IRzFWn/1F7ObxFMytnmEY1phBYoaroFRdFJmHJM1A84bYx8 RnsA== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WT4EsZ09q5GDbk6mx7GEfLZNbwgMgcuPWWQjqxXHSqU=; b=mw920QlD5EFEmfU79Dyt8tMge/eHMfftPP00mvjOkjcCDQ8DnXtjvfHKlNNLH145bP uJT8Sz6GxiBJ0Oi9ZuMslaGv72p814qJuP3BgIwuod40Iw2OR/wm9yxFeBkIotS3BzAt C8RNBL0YjxBcnRC6/N+/1OK4d1MDlHLlb08/LsyQytOCYh7zbw1ZlbMISUcrULFc3ekF 18o6PR3Ioqu6Tn1atD8nypr0GC65y+nzGobq3w/nZ8ot3Jqffj9RbmVpgPO9bzmLvCoQ t2I2jgDCX8Ln3ncZacojKChNAhL6SVzqLJ2zns8CaWem1Rl5or+DTEcbjEoI8JGeGK2K lSXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="BW1BD/fN"; 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 m23si5827883ejk.621.2020.08.07.09.54.42; Fri, 07 Aug 2020 09:55: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=fail header.i=@infradead.org header.s=casper.20170209 header.b="BW1BD/fN"; 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 S1726923AbgHGQvc (ORCPT + 99 others); Fri, 7 Aug 2020 12:51:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGQv3 (ORCPT ); Fri, 7 Aug 2020 12:51:29 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE97C061756; Fri, 7 Aug 2020 09:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=WT4EsZ09q5GDbk6mx7GEfLZNbwgMgcuPWWQjqxXHSqU=; b=BW1BD/fNefW124izLPKM56T4x5 LKR4bsXz2ixqJGw6OTNhjw0/pB/EDzQdMN0wmgjEGYWKTVfvohcBEoEqnaIqW5irmI9jGhQfToxQk 4s0jN0qcf7kXyZAvrh6zV90cIrBPvA4sYu9naJ6y9tHaMjxvKoZ9PpJI8EKtbdtxarJX/eRESYmLc hE5oSwFi3I9gZWDpbSfFORpI4yAEl0Jo1ylODA1wqBdq3jr9dF6+Wf5XaXSfEvRO3JxsndVPvuhFq K+V6yafqdk40XdPF6a57UdTeESI6Q5qvf7WT8koFeg6xMothZtxl7xb+1kxlS/LzSTNzaMIa8a/ws RN4Agaig==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k45aY-0004FW-K9; Fri, 07 Aug 2020 16:51:27 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , David Howells , Jarkko Sakkinen , keyrings@vger.kernel.org, James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org Subject: [PATCH] security: keys: delete repeated words in comments Date: Fri, 7 Aug 2020 09:51:23 -0700 Message-Id: <20200807165123.3863-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop repeated words in comments. {to, will, the} Signed-off-by: Randy Dunlap Cc: David Howells Cc: Jarkko Sakkinen Cc: keyrings@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-module@vger.kernel.org --- security/keys/keyctl.c | 2 +- security/keys/keyring.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- linux-next-20200731.orig/security/keys/keyctl.c +++ linux-next-20200731/security/keys/keyctl.c @@ -506,7 +506,7 @@ error: * keyring, otherwise replace the link to the matching key with a link to the * new key. * - * The key must grant the caller Link permission and the the keyring must grant + * The key must grant the caller Link permission and the keyring must grant * the caller Write permission. Furthermore, if an additional link is created, * the keyring's quota will be extended. * --- linux-next-20200731.orig/security/keys/keyring.c +++ linux-next-20200731/security/keys/keyring.c @@ -881,7 +881,7 @@ found: * * Keys are matched to the type provided and are then filtered by the match * function, which is given the description to use in any way it sees fit. The - * match function may use any attributes of a key that it wishes to to + * match function may use any attributes of a key that it wishes to * determine the match. Normally the match function from the key type would be * used. * @@ -1204,7 +1204,7 @@ static int keyring_detect_cycle_iterator } /* - * See if a cycle will will be created by inserting acyclic tree B in acyclic + * See if a cycle will be created by inserting acyclic tree B in acyclic * tree A at the topmost level (ie: as a direct child of A). * * Since we are adding B to A at the top level, checking for cycles should just