Received: by 10.192.165.156 with SMTP id m28csp461785imm; Fri, 13 Apr 2018 02:09:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx49b+KjAQWdx61ZOBZkSsjiKZYtL6ojD7a9J8TNMR1B70hwRO2BxSHuO95Q3FuJ7Y82448D+ X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr4441674plb.155.1523610595135; Fri, 13 Apr 2018 02:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523610595; cv=none; d=google.com; s=arc-20160816; b=iFO/QFNEtUkz45MXcDodVMXdcuU4SSnsZsIxjh6RQBrFA9vfBbMsiTdfMizpTjAG8a UgL3DlkPHS1BB8+tbx6z34fwL6bFl5kgJGWgZoyxsPI6Xt1IXj/veMQMzDQOW05HlUNL 4+Zb3/91ElQh/WwhjJixLbPGjiLWHTFhCM1bzI4wWuDsK1hXWMqaTyxNuKDPJZOa8yHA dc/6e2Q1r4+2Wd8wIHs0y21nZu1Zk6PV4ZrdDP5Dd9ylR4L4eTK/8j4EKDR9l/xG36DN 3QcSQxGowevx0QiCU9HF+otVd/D+Hltxei2ei6dJlIfVYVRkIwkm2ri4iH7D0X5z+HoY 9ycA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:organization:references:in-reply-to:subject:cc:to:from :date:arc-authentication-results; bh=ZR5g2CRqrH/bj3CAtIbwSwVYogY0TKg2sl+/KCYasOY=; b=TOtkuRAn473SeVJiab2oNtm4Qf6LhGiZaqh0pHjtVZW3oEkHXh11idZJ4Q/6E69Kfs CDjyPznr58o2ATz0tapdNNC/Ej/y5FPiHFNYM2OOqFEVddqBaWB7GGsRKbt5GRDmn9g0 ejwJ2Xr7ReaFAAX1vp1DxNCwq1GXem9y6E1BAgJ1n479qeV9OPTDNUJtgTjB7XlWPJDa sgX69gDcNKCv4xtPNqvUFgpKaxAvAQAWwGbmYSKN2cbNxqKtuZXImTowvNyzA84K6Mdo ZEdTE59UhS6Au3tdS2BItM5WZSZ6R+AQlw0V6D69raSc2htq3xBIF4RO4VAMFmnwo7UK vWkA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f188si4146119pfc.316.2018.04.13.02.09.41; Fri, 13 Apr 2018 02:09:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754190AbeDMJIc (ORCPT + 99 others); Fri, 13 Apr 2018 05:08:32 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34152 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754167AbeDMJI2 (ORCPT ); Fri, 13 Apr 2018 05:08:28 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3D96TB2063944 for ; Fri, 13 Apr 2018 05:08:27 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hask3r7j2-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 13 Apr 2018 05:08:27 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Apr 2018 10:08:25 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Apr 2018 10:08:22 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3D98MPm58261518; Fri, 13 Apr 2018 09:08:22 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C7C14A4057; Fri, 13 Apr 2018 10:00:36 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E3DCA4053; Fri, 13 Apr 2018 10:00:36 +0100 (BST) Received: from ThinkPad (unknown [9.152.212.30]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 13 Apr 2018 10:00:36 +0100 (BST) Date: Fri, 13 Apr 2018 11:08:20 +0200 From: Philipp Rudo To: Bjorn Helgaas Cc: Eric Biederman , Thiago Jung Bauermann , Michael Ellerman , Dave Young , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 0/2] kexec: Remove "weak" annotations from headers In-Reply-To: <152355706051.36693.9856090891621551967.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <152355706051.36693.9856090891621551967.stgit@bhelgaas-glaptop.roam.corp.google.com> Organization: IBM X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18041309-0020-0000-0000-0000041175B8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041309-0021-0000-0000-000042A5A767 Message-Id: <20180413110820.662d4879@ThinkPad> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-13_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804130084 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, in recent patches AKASHI [1] and I [2] made some changes to the declarations you are touching and already removed some of the weak statements. The patches got accepted on linux-next and will (hopefully) be pulled for v4.17. So you should prepare for some merge conflicts. Nevertheless three weak statements still remain (arch_kexec_walk_mem & arch_kexec_apply_relocations*) so your patch still makes totally sense. Thanks Philipp [1] https://lkml.org/lkml/2018/3/6/201 [2] https://lkml.org/lkml/2018/3/21/278 On Thu, 12 Apr 2018 13:23:29 -0500 Bjorn Helgaas wrote: > "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(-) > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec >