From patchwork Tue Oct 25 19:35:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Colin Vidal X-Patchwork-Id: 9395357 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 100AB60234 for ; Tue, 25 Oct 2016 19:36:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25C1F2973D for ; Tue, 25 Oct 2016 19:36:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A4B829740; Tue, 25 Oct 2016 19:36:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 83EF82973D for ; Tue, 25 Oct 2016 19:36:11 +0000 (UTC) Received: (qmail 18072 invoked by uid 550); 25 Oct 2016 19:36:09 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: kernel-hardening@lists.openwall.com Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 18034 invoked from network); 25 Oct 2016 19:36:07 -0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=cvidal.org; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender; s=mesmtp; bh=S5OnpsB/3Is+N D+nbwQkYVQ+JfA=; b=BZ0R1sRG4nBI/i9lk4U4aBSA7zMh6uB0Qv6N0SnW8v1su BWL74ay/RBJoboIEmpJTDfWEXMxa7NWumyyefXQLJF29HlpZuCkkI9uPWw+l0v5z Xg1/4lT5g7gqbNYqdblHd3WO23rzk06GvHWdF63/70XVLOHRrTffqbt5QnbeIM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender; s= smtpout; bh=S5OnpsB/3Is+ND+nbwQkYVQ+JfA=; b=N/4mQBkHrdXZNpNBZkrP XdsgBSa8grhdIiZWFxcu45qfYrqHY/rkj1jubRlQpU9k1kp3HAJbapFgOUv26s0b aLR/yOn+JBl1YNMduyZHpROYit6J3xQnCfFRxuVc/urtUFVkBYdTElf8Oy4lwnjC f4pu0aiXvXKdXprBKsKFODk= X-ME-Sender: X-Sasl-enc: 9MzKj69jPZkQG9M9P956fsnEMyLdrq9KAws+69tRPrwA 1477424153 Message-ID: <1477424149.2263.52.camel@cvidal.org> From: Colin Vidal To: Elena Reshetova , Hans Liljestrand Cc: kernel-hardening@lists.openwall.com Date: Tue, 25 Oct 2016 21:35:49 +0200 X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Subject: [kernel-hardening] fix typo __atomic_op_fence X-Virus-Scanned: ClamAV using ClamSMTP Hi Hans, can you apply this little fix on the commit b5cafefa6ec2dd549174edc8fbd678c06fcb0472 you have just pushed on Elena's hardened_atomic_on_next ? Otherwise, any build that use atomic_xchg_relaxed and atomic_cmpxchg_relaxed is broken. Thanks :) Colin diff --git a/include/linux/atomic.h b/include/linux/atomic.h index 4e9972d..ffd2e33 100644 --- a/include/linux/atomic.h +++ b/include/linux/atomic.h @@ -427,7 +427,7 @@    #ifndef atomic_xchg_wrap  #define  atomic_xchg_wrap(...)                         \ -       _atomic_op_fence(atomic_xchg_wrap, __VA_ARGS__) +       __atomic_op_fence(atomic_xchg_wrap, __VA_ARGS__)  #endif  #endif /* atomic_xchg_relaxed */   @@ -456,7 +456,7 @@    #ifndef atomic_cmpxchg_wrap  #define  atomic_cmpxchg_wrap(...)                              \ -       _atomic_op_fence(atomic_cmpxchg_wrap, __VA_ARGS__) +       __atomic_op_fence(atomic_cmpxchg_wrap, __VA_ARGS__)  #endif  #endif /* atomic_cmpxchg_relaxed */