Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp185177imu; Sun, 4 Nov 2018 22:10:39 -0800 (PST) X-Google-Smtp-Source: AJdET5frn+KMGH0PFIEuVNjEZMYxQWrAmUbAJPnMw+FLhXG0KTl67WsvzUSxw1YA2nwg2m/NFDFo X-Received: by 2002:a62:3782:: with SMTP id e124-v6mr20398287pfa.145.1541398239070; Sun, 04 Nov 2018 22:10:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541398239; cv=none; d=google.com; s=arc-20160816; b=LVKkg0d3FkLyBq962pr76TKdfRFtodtzFHpefcuyA6Iqmzq1+pvExyLjQ2pCQKWh8+ 0Y/gwGa8lEAbazsclihTbwLqQ7GA9/sFruyEbudljimMpiPIMlzYLDRb2jjAH5g4+5Wq xJ62NAGouz7MprNNP2T+OZhJMT+HkXTXq6GLvR6YgQzBtISc/20zABaCOGti9crxYZj3 P+Ww93X683gWaPygr5PxkP8t2lRtJdh0i6Ec8bl02QXOAETVIxvzEGjLf+znARLddq5O 6FQRPBExCJfN9tl4D0AyRhc2L1aikZPvrDRhqaWQChDiz1V/3ES0kubcUZVNGyb3t0VE Oc4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-disposition:message-id:in-reply-to:references:subject:cc:to :from:date; bh=t4ErsNvrdTJ4kUMBfGf2YVE2iYjn/nGnpweu006vsVU=; b=NI4kdL+R7orm7BNP06DoAJ24JdzM2lESsrAbpq2ZVmqQyGPPP07h0/hOtCvETwr+G/ HrIUuhFxlGDCzE0YI8csf2NilYF1bM6j3pjOkY23Ks0lqD8vrod3CLSrdco1j2VWULkm zglv6ZN34h91kdq7+WJ4RuY8GHmT2Lbae98Xlhs0kEzLlGYsNdYX6t1Xz0gDQZzio0DY M/Z9G1xbJ0iXec53SLpfRGOBY9RrhJvkSrNoYSSjKKVmENOlqYNIAEl6JafXy33dlh9G jg/aUmwluo+7hS4N26fTzrY2Epoy6X9gsYa+oBcTFsVDdoxQFGj69l/6jp2X0/S9SJQA ZdUg== 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 p188-v6si13540548pfp.119.2018.11.04.22.10.23; Sun, 04 Nov 2018 22:10:39 -0800 (PST) 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 S1729266AbeKEP1E convert rfc822-to-8bit (ORCPT + 99 others); Mon, 5 Nov 2018 10:27:04 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33478 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727136AbeKEP1E (ORCPT ); Mon, 5 Nov 2018 10:27:04 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA564AS1073918 for ; Mon, 5 Nov 2018 01:09:03 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2njed3br0q-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 05 Nov 2018 01:09:02 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 Nov 2018 06:09:01 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 5 Nov 2018 06:08:58 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wA568v1Q590192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Nov 2018 06:08:57 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 41C16AE045; Mon, 5 Nov 2018 06:08:57 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0F998AE057; Mon, 5 Nov 2018 06:08:57 +0000 (GMT) Received: from osiris (unknown [9.152.212.171]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 5 Nov 2018 06:08:56 +0000 (GMT) Date: Mon, 5 Nov 2018 07:08:55 +0100 From: Heiko Carstens To: Guenter Roeck Cc: Martin Schwidefsky , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH] s390: numa: Export __node_distance References: <1541366886-32127-1-git-send-email-linux@roeck-us.net> In-Reply-To: <1541366886-32127-1-git-send-email-linux@roeck-us.net> X-TM-AS-GCONF: 00 x-cbid: 18110506-4275-0000-0000-000002D96778 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18110506-4276-0000-0000-000037E67D47 Message-Id: <20181105060855.GA3747@osiris> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-05_04:,, 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=825 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811050055 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 04, 2018 at 01:28:06PM -0800, Guenter Roeck wrote: > __node_distance is used by nvme, resulting in: > > ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! > > when trying to build nvme as module. > > Fixes: f333444708f8 ("nvme: take node locality into account when selecting a path") > Cc: Christoph Hellwig > Signed-off-by: Guenter Roeck > --- > I thought I had seen that patch already, but I don't find it anywhere. > Maybe that was for another architecture. My apologies for the noise if it > is already queued. It's already queued here: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=for-linus&id=a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 > diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c > index ae0d9e889534..d31bde0870d8 100644 > --- a/arch/s390/numa/numa.c > +++ b/arch/s390/numa/numa.c > @@ -53,6 +53,7 @@ int __node_distance(int a, int b) > { > return mode->distance ? mode->distance(a, b) : 0; > } > +EXPORT_SYMBOL(__node_distance);