From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC999A0545; Tue, 21 Jun 2022 16:13:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CC904069C; Tue, 21 Jun 2022 16:13:47 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id B4EBC40151 for ; Tue, 21 Jun 2022 16:13:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655820821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jb1DxamabbmA5eMH8itGJ4pCsLGl/QBr0axiVSm3Aq4=; b=NgvKHfIX6E3j2CKVNkkXfALTHfrR6ZOB7dbJ6jlqbOj/8QOQhthtBWvd8psDNsu6E7lvTk 3RAdz9rFJlZ2rhK0QgJDXxt6L9U2Q2tY/2DUIqvFiX26wEx4DT83rmmC8+a9i63PPw+csb rW+ruoc21p7AxrynR+bJpGW9OUt021s= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-619-T2rZ2lNiOhyGku7zYmqGJQ-1; Tue, 21 Jun 2022 10:13:39 -0400 X-MC-Unique: T2rZ2lNiOhyGku7zYmqGJQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B4642380665C; Tue, 21 Jun 2022 14:13:38 +0000 (UTC) Received: from fchome.redhat.com (unknown [10.40.194.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id C28952166B26; Tue, 21 Jun 2022 14:13:37 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: =?UTF-8?q?Morten=20Br=C3=B8rup?= , Bruce Richardson , Konstantin Ananyev Subject: [PATCH] eal/x86: don't export internal alignment macro Date: Tue, 21 Jun 2022 16:13:25 +0200 Message-Id: <20220621141325.1955755-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org ALIGNMENT_MASK is only used internally. Besides it lacks a DPDK-related prefix. Hide it from external eyes. Reported-by: Morten Brørup Signed-off-by: David Marchand --- lib/eal/x86/include/rte_memcpy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/eal/x86/include/rte_memcpy.h b/lib/eal/x86/include/rte_memcpy.h index 18aa4e43a7..b678b5c942 100644 --- a/lib/eal/x86/include/rte_memcpy.h +++ b/lib/eal/x86/include/rte_memcpy.h @@ -851,6 +851,8 @@ rte_memcpy(void *dst, const void *src, size_t n) return rte_memcpy_generic(dst, src, n); } +#undef ALIGNMENT_MASK + #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000) #pragma GCC diagnostic pop #endif -- 2.36.1