From patchwork Sun Sep 3 14:57:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 111524 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp454343qge; Sun, 3 Sep 2017 07:58:24 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5mLCLzVvkpuJ7qJBW2e5U2WPxIwbmjNo80kDTJARxwcPxDjt8N9kM63DnfbBENsPlqwBz4 X-Received: by 10.84.209.171 with SMTP id y40mr9681278plh.192.1504450704549; Sun, 03 Sep 2017 07:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504450704; cv=none; d=google.com; s=arc-20160816; b=DG6ITFbf6Ok9qYWFLhDarOLdG/KrauBxv2mAfFG/YUPKZ3C2M42ndauN3dwPwTbocP fiVNCpJJbcpPrpD22zksDQSPoTMa2LMuF5hoHvzr8T1FNMrQ9gB6UNTzydaBIAde7KBR 9W4ZFcHzEathsL/uBlJAeKDQ7rHyaOyoa3PoQDjr9n/bxIjieADyQ5FufDvLLghcHFT4 dsjtnQKkwa4oK0TNYraDF4c9M1G52uWz8HymESqc1Z7vin4QnVtHd+8Q7Gi56/0dI+OU vMUKt5Ea/trKYv98eVHfqMf0AuqIbh2q5NjOxeAU6H/3NAMyMs49TY523U6epXDiMSRA uhkw== 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:arc-authentication-results; bh=ygVRmwXQzWKb702PQIYi0AFGAis9YqVvuo2lFaJW/Gk=; b=o2s1UEP75mfuL8co2CK7sfCEYRtnQLRrjohx5HSvRN2iob/v6hDpgv4EssMO2jhPeT 2mqudIkmANTWr/s+Zzz+Co7wZ2TKhuLh1dYcYh5VMgafWnxKO4efUVqQ8FFc3RzxIZzY WwOHAu490oH+FIfu0jPHnJXqdKiRyfCy6J8qFX0SQlK3qPcyyxcp6KqBNRLBJEUlTr2e LG0DBI74QSRN8X+BcucMedfj6APp2NXnbq92Y1buCgkDzGjraVcGP1wZbjagdTBDDAo+ YNPc9JePHQE3YzMo0WcoDJUKFl0YI+6VjrKzHfgZXi1LHxCmJbmtmU/Q8CNYFUvAvf5/ Tl2A== 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 16si3445226pfb.116.2017.09.03.07.58.24; Sun, 03 Sep 2017 07:58:24 -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 S1753271AbdICO6W (ORCPT + 26 others); Sun, 3 Sep 2017 10:58:22 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:50912 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254AbdICO6R (ORCPT ); Sun, 3 Sep 2017 10:58:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B674680D; Sun, 3 Sep 2017 07:58:16 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 910A53F3E1; Sun, 3 Sep 2017 07:58:14 -0700 (PDT) From: Gilad Ben-Yossef To: Greg Kroah-Hartman , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Ofir Drang Subject: [PATCH v2 7/8] staging: ccree: replace noop macro with inline Date: Sun, 3 Sep 2017 17:57:42 +0300 Message-Id: <1504450664-28252-8-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1504450664-28252-1-git-send-email-gilad@benyossef.com> References: <1504450664-28252-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace noop macro with a noop inline function Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.1.4 diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h index 06a3c48..81ba827 100644 --- a/drivers/staging/ccree/ssi_driver.h +++ b/drivers/staging/ccree/ssi_driver.h @@ -187,8 +187,8 @@ struct async_gen_req_ctx { #ifdef DX_DUMP_BYTES void dump_byte_array(const char *name, const u8 *the_array, unsigned long size); #else -#define dump_byte_array(name, array, size) do { \ -} while (0); +static inline void dump_byte_array(const char *name, const u8 *the_array, + unsigned long size) {}; #endif int init_cc_regs(struct ssi_drvdata *drvdata, bool is_probe);