From patchwork Fri Jan 30 13:54:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44043 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 344582410D for ; Fri, 30 Jan 2015 13:55:07 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id fb4sf1292130wid.3 for ; Fri, 30 Jan 2015 05:55:06 -0800 (PST) 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: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=rl/2RGNgssX/i2EFtcZPa1MnwL52tT/KWJLrOxgTnVs=; b=kA6bY82EObb+hzxEtDw30MgkMeZZfDFw3T+TgJxJorSBXwjKgxRjLdQWmfa9MsO5ai e+1UYxgiGMB+1FiBRiKWflGH39mu/RlbU8UzCavwoy7UZj9zhP0C0XQTxFq0FB5Dtg9w GmQq+ntrbSUkIv74m069fObj4DzM1kP2lCy1R817BhPIp8KY7Z39pX9+I3vvJ0skNNHQ koGoySAdFNiyfxCuQg3SKHQCFE/VWBz/XsFC9mSHVRY1Wwkh4wLiUT9Mx/EQ8s1jFWPo ANKhA7Yhpx5DN4tmbVrX90R0adto3uaLk7qY8Adk9WDpevbp9qaO35kHmZv4CuqhHD4P mKZA== X-Gm-Message-State: ALoCoQnzYYkxDdtQH6atnp4F1Efr7chrgZU8mt+864OWJL1/SCAlRWKwMkxeUzlWFxeppDHwwNd7 X-Received: by 10.180.87.72 with SMTP id v8mr380442wiz.3.1422626106473; Fri, 30 Jan 2015 05:55:06 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.232 with SMTP id t8ls419093laj.100.gmail; Fri, 30 Jan 2015 05:55:06 -0800 (PST) X-Received: by 10.152.219.37 with SMTP id pl5mr2368417lac.6.1422626106313; Fri, 30 Jan 2015 05:55:06 -0800 (PST) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id an7si10146901lbd.64.2015.01.30.05.55.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 Jan 2015 05:55:06 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by mail-lb0-f170.google.com with SMTP id w7so36425528lbi.1 for ; Fri, 30 Jan 2015 05:55:06 -0800 (PST) X-Received: by 10.112.41.234 with SMTP id i10mr6464646lbl.25.1422626106190; Fri, 30 Jan 2015 05:55:06 -0800 (PST) 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 h5csp291663lbj; Fri, 30 Jan 2015 05:55:05 -0800 (PST) X-Received: by 10.140.27.199 with SMTP id 65mr8424525qgx.24.1422626104679; Fri, 30 Jan 2015 05:55:04 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id n6si10054788qag.104.2015.01.30.05.55.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 30 Jan 2015 05:55:04 -0800 (PST) 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 1YHC2F-0008DK-Dr; Fri, 30 Jan 2015 13:54:59 +0000 Received: from mail-qa0-f51.google.com ([209.85.216.51]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YHC2A-0008DF-Ay for lng-odp@lists.linaro.org; Fri, 30 Jan 2015 13:54:54 +0000 Received: by mail-qa0-f51.google.com with SMTP id f12so19870403qad.10 for ; Fri, 30 Jan 2015 05:54:49 -0800 (PST) X-Received: by 10.224.120.10 with SMTP id b10mr12539986qar.19.1422626089150; Fri, 30 Jan 2015 05:54:49 -0800 (PST) Received: from mike-desktop.?.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id c67sm10031549qgd.45.2015.01.30.05.54.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Jan 2015 05:54:48 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 30 Jan 2015 08:54:40 -0500 Message-Id: <1422626080-4614-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: packet_socket: use ODP_UNUSED 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.170 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 Signed-off-by: Mike Holmes --- platform/linux-generic/odp_packet_socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_packet_socket.c b/platform/linux-generic/odp_packet_socket.c index 3f114fa..0fda129 100644 --- a/platform/linux-generic/odp_packet_socket.c +++ b/platform/linux-generic/odp_packet_socket.c @@ -48,7 +48,8 @@ * As it is implemented as a weak symbol, it has zero effect on systems * with both. */ -int sendmmsg(int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags) __attribute__((weak)); +int sendmmsg(int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags) + ODP_UNUSED; int sendmmsg(int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags) { #ifdef SYS_sendmmsg