Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5193761ybi; Tue, 28 May 2019 09:01:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMcDxF5IHxes8QpQu7bqAdGLuPM4YqO/XN1uN4qqYbjACXAZLbAkKURerIdg2rBwhlP3a8 X-Received: by 2002:a17:902:6bc4:: with SMTP id m4mr60190340plt.266.1559059313761; Tue, 28 May 2019 09:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559059313; cv=none; d=google.com; s=arc-20160816; b=uThTUqIiklAZryUEV81UMggDF6e4ZJXMmNT/yx8yui+y3DUTfMXG1eChqg2zYa1tt9 PQSXGJTGmOXvyiwAXxR88Jff/NVSkgr4+FC70IPP9xrIu5z5ZJjsB8+BqVpCx+09WkbO 1G8StHWLArjeWoa3huKMIPckxexCBnrXwvKqgnWoO2PtxvCAQPnNsC/MrQ8RX/2rqSDZ IcJB9GbTNk6iPGNYkDS9jfuXFoIl6z22B0/ZV/byoTr5p9XBXfOVC8L1BjAB9bWf/OdX 4y93dTlmQKoS0SNloe/Dy3ZTtuWLLgRAI58HlzOF1ImZICPkBed7u8y71rlaTlb7hdOl vYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Uzl0kjZXshtDOVeA7ZqM/RMMcACIIG6IqAe8cpmBqjU=; b=CEA7ItqlyvE8dI5nNrd1zcqKJah3agSZMqrSLbkxQGU/XGEhSkJVDsAeb3SF9Jt2E/ Seg2/TrCYzG+aI38j7A3BvMhwhYpdvGABdRiNZyj4074gJx+Q3GgVPFucjS1zuEgTuQs rbGR/Ujqj6I9Cy1DeNjZvjLAFeLmwArSnMXx5NPSgfQcMKMqp+guZsF1mTTKJncpyxxX 1jX+G2k/8P/7M77WG5cXZu5AMQhiW1cxucx2tFaNeFCCCoAshoYMY24lH+ZmagrMp0C3 g4mLitsSmOg+sq5AFagUbwlnJkWbRxrl04gxuZzNUZKUqZ85Bp/ueOg5D1riY0LBz1Zb OD3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bbW3y4za; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si23967060pfn.96.2019.05.28.09.01.36; Tue, 28 May 2019 09:01:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bbW3y4za; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726452AbfE1QA4 (ORCPT + 99 others); Tue, 28 May 2019 12:00:56 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:38913 "EHLO mail-wm1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbfE1QA4 (ORCPT ); Tue, 28 May 2019 12:00:56 -0400 Received: by mail-wm1-f52.google.com with SMTP id z23so3473692wma.4 for ; Tue, 28 May 2019 09:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Uzl0kjZXshtDOVeA7ZqM/RMMcACIIG6IqAe8cpmBqjU=; b=bbW3y4zaSMbMu9eToZ6aQTm/GR+RjcqLob7WwMwCjPU0p1OsdtHKttUCo8y3HOnM+W cPi2c8ke+q5so6CoCdiysi978BS19s1WbJTpp5Qp+eosiC76acLRba1G2Z+v5tjuBLmF 0YVH287jQ7Sy0R7dQNgRMQPj+tyK1wGxDerUDAtdJz8nDmUhcjcF0rOps1pCsM2NUcJ2 GYQBGggu2O4obg77Ch6Auyokt+84dwAMoqte46lOM+Q15RRSpFeCL46wBqdIwr5qZJi0 V1Zl5TuMGT6mC2jokwQC+JKzjZRJceo9Ebf/J15E8htxFAXq1BkqDJdlamWXIjGg7doP Byvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Uzl0kjZXshtDOVeA7ZqM/RMMcACIIG6IqAe8cpmBqjU=; b=IbdSfZUU1Hz2RSnAx52+e/kcSVV68tf8DGjYv9kTMl17UwUxMNbt28bVva5ZXxH+M2 /HxDPrPiADqOSHSP2XgTaQv+mQEeDDwNE0oXaxvZALYVAJnW5dj+QjNCLxzyUbinTsAl nhd407yDDjzDSx/zfK3Y+TuJYzKwd0oUmL9b2I3yWrAnf+t7SqODZ+SFRSVkyN27SM+e ZUUo5B6bakIFGA86fJY5D+qJAItbF4KESUmfivaMMfFU7WZmb2AhdQ8UiDR5p3aJTRdt U2zHf2o+jUC3+SkFqPom4YJWEHe1vojxawAccBpQMwXcnTXIWGA8ZULT4ElhgJLrJqoJ d5Tg== X-Gm-Message-State: APjAAAVVcnFA36XbibfAYKk24mIGsghCZGEHzKTPpf/j04WprXBoUcCb g29NCW5xN9S5K3vwDqPPxy+25OTk8azLv1Rv8ZY155mL X-Received: by 2002:a1c:6545:: with SMTP id z66mr3665448wmb.77.1559059254568; Tue, 28 May 2019 09:00:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sandy Harris Date: Tue, 28 May 2019 12:00:41 -0400 Message-ID: Subject: Re: Conding style question regarding configuration To: Linux Crypto Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Pascal Van Leeuwen wrote: > ... the proper way to do this is not by > doing an #ifdef but by using a regular if with IS_ENABLED like so: > > if (IS_ENABLED(CONFIG_PCI)) {} See also: http://doc.cat-v.org/henry_spencer/ifdef_considered_harmful