From patchwork Thu Sep 7 09:00:15 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: 111874 Delivered-To: patch@linaro.org Received: by 10.140.94.239 with SMTP id g102csp517066qge; Thu, 7 Sep 2017 02:01:50 -0700 (PDT) X-Google-Smtp-Source: ADKCNb480+c9vdqf/FlA9KT6GjEro+ZWtTW7AF+LAMGXpBmhEQC+spOWbpGiqJRtrJCo4zbon/iJ X-Received: by 10.84.129.34 with SMTP id 31mr2294564plb.282.1504774909995; Thu, 07 Sep 2017 02:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504774909; cv=none; d=google.com; s=arc-20160816; b=mHS8RZuoR9B+qhrcI5I/mKad4JUuIG30drjpFG4agltbN/mJeFZq1Q60TkdomSXVs+ MYOPA1qFwzQ+Oh7PyV3v5tGfbtRWG9gKGTpLbCIH57tUvQQrAvPICZ9JJ7CDLPUdaUMh FUQP28J2uEFKC9UKHWyu6eBWogoNHG49bJ3yJnS9gK3mj9rwdG+0Ytg5dtVIctESRfIw nVBZ/t+0dzHeW/e+bxXKITrp2rUGTkuWUSL2662HIZugWdn8Y1gzyR859VFBA6YPpYbS YRlFCxUwek8mtNPp+6ShrcvR+oyPgTaGz+7QaQ82sulSYnj7m4ipnuySKW25HvbS3PXy i2cw== 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=MsBfvWw0stUurg8REuuGs5quQm4yEBj0q4dPtBvTOFU6Gz3XILfqrjGn1PTw139fsL oDMKG4YpDK/DqcBwyd7NVxHu562IsL/PYSwsvPtcZ7DVnddsKwFRcK8UyAUuqM0a2dfg 8pjFN4Aydn7HZlGjfow0Qzgs1d18CZtBSA9eQve3OVVHSOWIf1Utl/cBHvKyinkdyhul w8IWEYPJoGtzUiGMno3zt4ofvehqnT2Zw0zghQQXr94w+iFK4CwHmACK+8Twv3oJX2A1 SdTH30mpCRwckEPION/ZJR86x3ZxVmg10KeGBL4S88hR+2+yYdLH/eu9UkIKGos+ddUx VNSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12si2014550plt.140.2017.09.07.02.01.49; Thu, 07 Sep 2017 02:01:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755047AbdIGJBs (ORCPT + 1 other); Thu, 7 Sep 2017 05:01:48 -0400 Received: from foss.arm.com ([217.140.101.70]:57286 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755044AbdIGJBq (ORCPT ); Thu, 7 Sep 2017 05:01:46 -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 7400280D; Thu, 7 Sep 2017 02:01:46 -0700 (PDT) Received: from gby.kfn.arm.com (unknown [10.45.48.140]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CEFCC3F540; Thu, 7 Sep 2017 02:01:44 -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 v3 7/8] staging: ccree: replace noop macro with inline Date: Thu, 7 Sep 2017 12:00:15 +0300 Message-Id: <1504774817-11984-8-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1504774817-11984-1-git-send-email-gilad@benyossef.com> References: <1504774817-11984-1-git-send-email-gilad@benyossef.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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);