From patchwork Thu Mar 19 18:20:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46072 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2AF352153C for ; Thu, 19 Mar 2015 18:20:32 +0000 (UTC) Received: by wesk11 with SMTP id k11sf9135700wes.3 for ; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=0lqdv3jJGBIlCLB2CsHaJoQfGrRWTxLw3ylPzRq3h7s=; b=XCneA5c01qhNsi3DYyBcc7bAWpYUuikuZOcbVaT7FnEdaZ2rKyf7KO7cRcgC2Z03bq rKCf1PxWrQNkBKIYPr8vC01ytUaaVANK0C6x5ChRsFAEoOGZuMxMY2q7Ax7obHvWAsgA rhTlWWNNSmgZguc95MuHys5b1Mh2omNyovoZnWEKggtv/MliO902aE8jciPownKqGNeU dn/sF1MYHzMPLygSnSbB8RJhhdzoUNUigXbu1Zwh12MqvMAGlha9t+f6eTI217m6WT2g /kk8EKHf18aeS8rzO3F3OZBxRHuNTRn+vHCooWyInSsUhvrsCiSLQznUVp7PuHBvZ9WC VI8A== X-Gm-Message-State: ALoCoQmf7ehgA9RghyIfnpm66UXE3q2OTZX00GYsD81fNM+AxFkH1pYHh49zFn9r8/iubj/VPIKu X-Received: by 10.112.120.136 with SMTP id lc8mr9260195lbb.24.1426789231435; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.42 with SMTP id g10ls339033laa.51.gmail; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) X-Received: by 10.112.67.107 with SMTP id m11mr44978198lbt.43.1426789231285; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id z9si1492497lbw.159.2015.03.19.11.20.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2015 11:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbblx11 with SMTP id lx11so36938402lbb.3 for ; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) X-Received: by 10.112.160.65 with SMTP id xi1mr7196326lbb.56.1426789231146; Thu, 19 Mar 2015 11:20:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp562029lbj; Thu, 19 Mar 2015 11:20:30 -0700 (PDT) X-Received: by 10.140.95.43 with SMTP id h40mr94353527qge.68.1426789229752; Thu, 19 Mar 2015 11:20:29 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id b4si2059859qcf.8.2015.03.19.11.20.28 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 19 Mar 2015 11:20:29 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYf3S-0006zr-FM; Thu, 19 Mar 2015 18:20:26 +0000 Received: from mail-qc0-f169.google.com ([209.85.216.169]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYf3N-0006zh-59 for lng-odp@lists.linaro.org; Thu, 19 Mar 2015 18:20:21 +0000 Received: by qcaz10 with SMTP id z10so73966978qca.1 for ; Thu, 19 Mar 2015 11:20:16 -0700 (PDT) X-Received: by 10.55.20.40 with SMTP id e40mr148365817qkh.33.1426789215995; Thu, 19 Mar 2015 11:20:15 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 29sm1312527qkq.35.2015.03.19.11.20.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Mar 2015 11:20:15 -0700 (PDT) From: Mike Holmes To: bill.fischofer@linaro.org Date: Thu, 19 Mar 2015 14:20:08 -0400 Message-Id: <1426789209-13903-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH v3 1/2] test: debug: add unused attribute MACRO X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Compiler attributes should be used to signify that an unused argument is intentionally unused Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- test/test_debug.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_debug.h b/test/test_debug.h index 35e21d9..2ad743f 100644 --- a/test/test_debug.h +++ b/test/test_debug.h @@ -81,6 +81,11 @@ do { \ * @} */ +/** + * Mark intentionally unused argument for functions + */ +#define TEST_UNUSED __attribute__((__unused__)) + #ifdef __cplusplus } #endif