Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp448864imm; Fri, 3 Aug 2018 06:11:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe2e7tOngvd+DDrZGbTaekeiMROsPWAb4/0dkvNbsY5COEW10hPLIxBNRFvGhc8WAA2FdIr X-Received: by 2002:a17:902:988a:: with SMTP id s10-v6mr3500987plp.200.1533301910604; Fri, 03 Aug 2018 06:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533301910; cv=none; d=google.com; s=arc-20160816; b=gw6C7QoCq0CYHiddyDzZrTaKk2ySFLN4hkF4AQtBwzLP+q1ZkP0qKeY1HtKmPpNwv3 2rYwV6VcTX7peDOsh24+AKRMwQOzQkDTRcHt8MwN05Ms2e/CHR1HRn6lrrITQvf4LJBC p5FpN5mwu+tiB/DkOrdVe5Q2yzrOP3JILkvN1utpekttVF08rq+LlNR5Gt6iwfgEKOew 7ZJrhEr3BJikyo1uJG3nUj8rNoVzPDurlPtS6MHDE8FBp+DXZMj+4zNQmuO50tuoObwZ N0RBvC7v3raQmtRjD9Y7axcRfOMtOsqQ2R4Dq5aPRCmfBtV5WwjJXpJexXPaWmvJ4yT8 WocQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date :arc-authentication-results; bh=JpFNxmVMMxyuudE4AzmDf5I2UEDxzsuFnQPrfYUhu74=; b=JMvdTRddVjPGWwrgVoo1R+ONBeapJon8Hw4FLGaiNN547H9BjlHzgQoIYRLduz484s ktG4cTiUq0qx3RmL4ds6IhlujSKIiQ6sRh1FeWH0a+aXHDh1SCehjh7IeRJ64fCM/hkt 8jWUuYkT5rOX5UU70LMM9MTNRdGlM7MhoegOYk6MguXO2+dpLCvV9cuvPQc1uL2dKqvU tgIh6wJpxfgUg6ncg07jT3GGWmMuTCREPtVnTJ+eZrznWQW9fNOFtU16dNM+c68smgwZ G4uLMwOlVyptVltQkhmqeLaLkw0KEkxtV7BPwSAWTliXFQxZXwuWp5OV2HZhLA78V9ew gcHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124-v6si5203118pfc.110.2018.08.03.06.11.35; Fri, 03 Aug 2018 06:11:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731865AbeHCPG4 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 3 Aug 2018 11:06:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:45008 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729854AbeHCPG4 (ORCPT ); Fri, 3 Aug 2018 11:06:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3B578AD1E; Fri, 3 Aug 2018 13:10:38 +0000 (UTC) Date: Fri, 3 Aug 2018 15:10:35 +0200 From: Jean Delvare To: Nick Desaulniers Cc: LKML , Alistair Strachan , Matthias Kaehlcke , Arnd Bergmann , "H. Peter Anvin" , Tom Stellar , Sedat Dilek , Juergen Gross , Ingo Molnar Subject: native_save_fl() causes a warning Message-ID: <20180803151035.238a19d2@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nick, It seems that this linux kernel commit of yours: commit d0a8d9378d16eb3c69bd8e6d23779fbdbee3a8c7 Author: Nick Desaulniers Date: Thu Jun 21 09:23:24 2018 -0700 x86/paravirt: Make native_save_fl() extern inline introduced a new warning (with W=1): ./arch/x86/include/asm/irqflags.h:16:29: warning: no previous prototype for ‘native_save_fl’ [-Wmissing-prototypes] extern inline unsigned long native_save_fl(void) ^ Please fix it. Secondly, I am quite curious why you changed only native_save_fl() from static inline to extern inline, when native_restore_fl(), native_irq_disable() and native_irq_enable() are equally referenced by address in arch/x86/kernel/paravirt.c and thus should suffer from the same problem. Can you explain? Thanks, -- Jean Delvare SUSE L3 Support