Received: by 10.192.165.156 with SMTP id m28csp2273726imm; Thu, 12 Apr 2018 11:26:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx49A6oaTWh0pwDT/KejoRXBDBALAAzQ9WUhiYYNbtmvWnL4XnZk3ybzw40bPhUQjUF2BwgcC X-Received: by 10.99.112.82 with SMTP id a18mr1497175pgn.292.1523557619238; Thu, 12 Apr 2018 11:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523557619; cv=none; d=google.com; s=arc-20160816; b=uoKxUhZITxcjcIrShrKVmsQjjLLQdZz1/eWubnUCqtTetkYopk7Q5fnxly8yQnVx3b XirmVqgNFxqCt0OVJEI77id68y5tAKHWcqU3FcNiFrQrrxHm/CGzrbfxjvVGksS3Q0ca 6upSY+LWFvqP1XBSFy1/wvBwTRxP5Nzg2W+P5uNMsQVhELC8GHxw57LpoFAxrqBSFQCo mB4g8R9Hsd2dQvYNMIfaZTQG80Pgjlem9KuKRr/TlgywiGNSXir2RFbSGt/OUnZm0W2R 3+yBzWbgTXUjSqzJv2rw6A1yLKdv+xjt1hFg7wpGfeOBUYJnPd4ja4gc3Zd+LBM0/UMG OBrw== 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 :user-agent:message-id:date:cc:to:from:subject:dmarc-filter :arc-authentication-results; bh=PAwhRNF1i3qgk8vsX6Xw/gKMAfp0bUPoG83palsRX+4=; b=DhWKzFkt2rlMsCeIdBbjxa8Lkv+NvNZb8Dh+osJiuORcXvjkTbzk8+aDbtHSGdjS2W PEEl7TI0bTZ1ATMPmRyo1lYFxu4dLsg+R/5I0pvM462Fxuptd7EiO4hs+09qTMJqzng/ sL3bHO8DzJAi2zrc26DrbeKNQMvTf3uap9e3WjFi/LN0LvyBIUJwZcliSvgWHVBadbIC UksdRK1P4Bb554Aj/1B5DSVR8lXkmykw2fF7WyMm9VZumSBg3i8ZInOqeJBLqXcUFWps /IzZi8MZWZFe6fh2Pys/VMtdZ4Rl9kKshJIdsM6z8musnJgLuzAmnIwoQkfdaTH59Hvy UyHQ== 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 e28si2650454pgn.621.2018.04.12.11.26.45; Thu, 12 Apr 2018 11:26:59 -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 S1753170AbeDLSXd (ORCPT + 99 others); Thu, 12 Apr 2018 14:23:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:39692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752763AbeDLSXb (ORCPT ); Thu, 12 Apr 2018 14:23:31 -0400 Received: from localhost (unknown [69.71.5.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E478E21771; Thu, 12 Apr 2018 18:23:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E478E21771 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Subject: [PATCH v1 0/2] kexec: Remove "weak" annotations from headers From: Bjorn Helgaas To: Eric Biederman Cc: Thiago Jung Bauermann , Dave Young , Michael Ellerman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Date: Thu, 12 Apr 2018 13:23:29 -0500 Message-ID: <152355706051.36693.9856090891621551967.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Weak" annotations in header files are error-prone because they make every definition weak. Remove them from include/linux/kexec.h. These were introduced in two separate commits, so this is in two patches so they can be easily backported to stable kernels (some of them date back to v4.3 and one only goes back to v4.10). --- Bjorn Helgaas (2): kexec: Remove "weak" from kexec_file function declarations kexec: Remove "weak" from arch_kexec_walk_mem() declaration include/linux/kexec.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)