Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4027884yba; Tue, 9 Apr 2019 09:34:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuTy8GmoRo5wAaOAdIH6IJQe8rQkCjFkoDCaxUtVWC86sCSaLfRlQCTe2H2x2SgyMDKu1u X-Received: by 2002:a63:170d:: with SMTP id x13mr35981516pgl.169.1554827693806; Tue, 09 Apr 2019 09:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554827693; cv=none; d=google.com; s=arc-20160816; b=D9vqVvLFUJRKOcY9TZYLzOwVw5QfUqY88Kfr1wbWRtKWpv1LX4pGDTtww23yNJvbFy cgREWPeNYb41/KTBnFqJBxlFvgfqhr+8kdIfwVNbX/3vn7azoY/deyYSsG9Juyu+UVKm XfmGnvakv1Qr/ubVW9YL211BXA+S5pPgujxHeVMstO2aahFkTTjOh+cvihlaO2PpqqlB ZR0WkYcCS63PITtAFRAs0kR+k10oeOXeIYr3N6r3B5GSZZzt6eqDdx7K2yE+EjJh7czO 6p627WOtyi2V8OtxBbny2WwRGqxYx64vU69D0cC8VaVbo/ooFhejx8sgZOztNRow6y2m qnuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=4CtsM7LHKDUfjOEHx5XpywJIju1xfcGuOZKsqwQquxc=; b=BcoTlkcSZ87nzxjBArvVptCZsdiDhz8zdLjIP1H6wBNoAMbjrnTEVMJuCkIUmcaxf5 sMpZZB0wGimX+doN7040I4m5hYkpkI0jtdSnf7jklxCsicOj0LZ7ZFpFNj5eL8GpZQaL 2mLihQzFlmMnBS2oScL2wo2507AcJcx5B9Y//I2AwfEi9adGORvo2GhM2Gx/0fSC7yTN YO3URAwbIaMa5YHqSSuh8/avsKgWagt5xFElcAoQPMCxTC0XZ/dgo5oIh3YLJFN55YUU +RWkhZLYXsEZOYAfn4vYzxG3LAhoNLwEBrVaDuU3pkOhvAiPZjkqKm2r4Sw+FhcCYy7g e6eQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l68si30093555plb.342.2019.04.09.09.34.37; Tue, 09 Apr 2019 09:34:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbfDIQdx (ORCPT + 99 others); Tue, 9 Apr 2019 12:33:53 -0400 Received: from smtprelay0090.hostedemail.com ([216.40.44.90]:49845 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726456AbfDIQdv (ORCPT ); Tue, 9 Apr 2019 12:33:51 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 217FE180A8140; Tue, 9 Apr 2019 16:33:50 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:800:960:973:982:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:5007:6261:10004:10848:11026:11473:11658:11914:12043:12296:12438:12555:12895:13069:13161:13229:13311:13357:14096:14181:14384:14394:14721:21080:21433:21451:21627:30045:30046:30054,0,RBL:172.56.41.174:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:27,LUA_SUMMARY:none X-HE-Tag: goose23_5b7d07c47b113 X-Filterd-Recvd-Size: 1905 Received: from joe-laptop.perches.com (unknown [172.56.41.174]) (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Tue, 9 Apr 2019 16:33:48 +0000 (UTC) From: Joe Perches To: Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] crypto: sahara: Convert IS_ENABLED uses to __is_defined Date: Tue, 9 Apr 2019 09:33:13 -0700 Message-Id: <320188162965670a5a0a90f693f8082229b88ee2.1554827560.git.joe@perches.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <3c15d21d2b6896e76e8801dc07de2bae1dadceb1.1554827560.git.joe@perches.com> References: <3c15d21d2b6896e76e8801dc07de2bae1dadceb1.1554827560.git.joe@perches.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IS_ENABLED should be reserved for CONFIG_ uses so convert the uses of IS_ENABLED with a #define to __is_defined. Signed-off-by: Joe Perches --- drivers/crypto/sahara.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 8c32a3059b4a..fd11162a915e 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -354,7 +354,7 @@ static void sahara_decode_status(struct sahara_dev *dev, unsigned int status) { u8 state; - if (!IS_ENABLED(DEBUG)) + if (!__is_defined(DEBUG)) return; state = SAHARA_STATUS_GET_STATE(status); @@ -406,7 +406,7 @@ static void sahara_dump_descriptors(struct sahara_dev *dev) { int i; - if (!IS_ENABLED(DEBUG)) + if (!__is_defined(DEBUG)) return; for (i = 0; i < SAHARA_MAX_HW_DESC; i++) { @@ -427,7 +427,7 @@ static void sahara_dump_links(struct sahara_dev *dev) { int i; - if (!IS_ENABLED(DEBUG)) + if (!__is_defined(DEBUG)) return; for (i = 0; i < SAHARA_MAX_HW_LINK; i++) { -- 2.15.0