Received: by 10.213.65.68 with SMTP id h4csp1742100imn; Sun, 1 Apr 2018 13:44:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/uqIu6YA2R0aKw6wHTbtKb42m93tpLXUhileMqDMW5bGD0XFigm6mLyjmuf70hShFNXKo3 X-Received: by 2002:a17:902:b109:: with SMTP id q9-v6mr7465433plr.299.1522615486796; Sun, 01 Apr 2018 13:44:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522615486; cv=none; d=google.com; s=arc-20160816; b=a1OU1z6uXJV7d/jIaPsSjBBIdV/Y6oxaTraDrnoXoYncLdnZ05tQTcuh0UudiKtsv9 /sUfwn5LsNfWzdLgRvYPs+8jcGuLQw7rFC09K1qeF7PO5HqMRk/3YKBjQxYRQDej7yFK kEtrp/dOrwbt8BPo7R0YjTmWl2W1v91UOcu0lOBWXM28zIzUmx+By82ERLvk9dx3kBnq dC+MMroe1/PLiicleWPWjutaDHn2EW5XQgsFGZSyUe+faoHIiL4kmCeuPO/qkXkXWhH7 fnEJQzgCzCvkYM/1Di2JHszlo0XjJvQhcs65IHwmfw53386UwTswILxk5g3OdVny9c13 l4lQ== 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 :user-agent:references:in-reply-to:message-id:date:to:from:subject :organization:arc-authentication-results; bh=317/+6kiwXGprcayUx96yxKg1vu1ye6sxSojbmvQ4YM=; b=e/TvPk5448Bxnb4VX60K6FD0iFZUGkALYX4AU0LQwm5KUmUJ66RsWyRoBPdMlP1X2t XsAsETkNo17V74WAfeGoekH65QMm2Rcr3ojR9wCFLAZyk6Lz4iyGV6vgb38Oc6pHQf6l x5/VHKTaCoAIpgxYQsCUE8CcXRqtKo9SePGlJVoRH5D0TWcIteDlBTCNI6ByASUJm8Tg 4Y+IvGpQ51dCN68HJsjc0VWzHEvk7OxbenwYHJJge4tPIvkakS2VKJC08M7OJtf91drW ROG+GKXP3Jc0oMyFUUQCO9W94r2kuWKOUw023J0f9FvOQds8XplYkh6TVfrLgZ/+3KEG KwiQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si8626901plp.22.2018.04.01.13.44.32; Sun, 01 Apr 2018 13:44:46 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754538AbeDAUn0 (ORCPT + 99 others); Sun, 1 Apr 2018 16:43:26 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43104 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754147AbeDAUnX (ORCPT ); Sun, 1 Apr 2018 16:43:23 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 91433406E97C for ; Sun, 1 Apr 2018 20:43:22 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-59.rdu2.redhat.com [10.10.120.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41A65D7E08; Sun, 1 Apr 2018 20:43:22 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 31/45] C++: Avoid using 'compl' and 'and' as names From: David Howells To: linux-kernel@vger.kernel.org Date: Sun, 01 Apr 2018 21:43:21 +0100 Message-ID: <152261540175.30503.3674118602569067854.stgit@warthog.procyon.org.uk> In-Reply-To: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> References: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sun, 01 Apr 2018 20:43:22 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sun, 01 Apr 2018 20:43:22 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'compl' and 'and' are synonyms for operators, so avoid them. Signed-off-by: David Howells --- include/linux/cpumask.h | 4 ++-- include/linux/crypto.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index bf53d893ad02..73bee9ff6cb3 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h @@ -273,9 +273,9 @@ extern int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool * * After the loop, cpu is >= nr_cpu_ids. */ -#define for_each_cpu_and(cpu, mask, and) \ +#define for_each_cpu_and(cpu, mask, and_with) \ for ((cpu) = -1; \ - (cpu) = cpumask_next_and((cpu), (mask), (and)), \ + (cpu) = cpumask_next_and((cpu), (mask), (and_with)), \ (cpu) < nr_cpu_ids;) #endif /* SMP */ diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 7e6e84cf6383..f8f95615ba69 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -1034,9 +1034,9 @@ static inline void ablkcipher_request_free(struct ablkcipher_request *req) */ static inline void ablkcipher_request_set_callback( struct ablkcipher_request *req, - u32 flags, crypto_completion_t compl, void *data) + u32 flags, crypto_completion_t c, void *data) { - req->base.complete = compl; + req->base.complete = c; req->base.data = data; req->base.flags = flags; }