From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbdLJSfR (ORCPT ); Sun, 10 Dec 2017 13:35:17 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38385 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbdLJSfP (ORCPT ); Sun, 10 Dec 2017 13:35:15 -0500 X-Google-Smtp-Source: AGs4zMYd/VqUip32zZibFch9cLNwE1w2ADr1G9UZ5IlyYIXQRcGURZVTQFMNvAh/B9fvgjmbpO1lDg== From: Lukas Bulwahn To: Josh Poimboeuf Cc: sil2review@lists.osadl.org, Ingo Molnar , Lukas Bulwahn , Jiri Slaby , linux-kernel@vger.kernel.org Subject: objtool: Use value of intended enum to compile with clang Date: Sun, 10 Dec 2017 19:34:59 +0100 Message-Id: <1512930902-15731-1-git-send-email-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please include this patch in tools/objtool to properly compile with clang-5.0. I successfully compiled this patch (make defconfig && make) on top of tag next-20171208 from linux-next with clang-5.0.0 and gcc (Debian 7.2.0-16) 7.2.0, but I did not test anything further than that. Exact compiler version of clang-5.0.0 is: clang version 5.0.0-+rc2-1 (tags/RELEASE_500/rc2) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin This is my first kernel contribution, so please apologize any kernel newbie mistakes. Lukas