Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp519012ybt; Fri, 19 Jun 2020 07:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBmosJ4nUi2YLA7U8h+MU3txxE2Y8Yrcxm6hV7fTKwFe9WrZg370yAxCCeXgqFuafc8olt X-Received: by 2002:a17:906:344e:: with SMTP id d14mr3913596ejb.53.1592576494442; Fri, 19 Jun 2020 07:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592576494; cv=none; d=google.com; s=arc-20160816; b=SmWfDq4zz5Y00LQP6FSH+ekEkOGriQfR1NcjiXE0j+b33ixoa/cNQFkSKp2kMMDBDK xgci+rN8WR48FaZULuI4fJisw6703G6Ihi5hIpN4n/wpIj3YQlW1nzuDQs7cEdZBpqvZ 0CZqoqLWrXSblPMgODglpohqeohEzp2KyOpl7XwjG5sy6+vL0QWXsiITGO7mgsdtf3EL KQqnVpzPC91jtYmsesvmgGWisIsG/zUojfG3sRU4LMAiv1GyTUI/ghOO6Z5RObP2Gtni APuPAZaAOvq1JTRCL/y8YMQINT2KTDRLK7y7NAR0RFoIbC8ucEOId8VDKXSAJnG3WpXr sbFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Egv4DSWTsmDNGPy8mu3TW3C5g8g2yLyUWMOCINyFybQ=; b=fjChxucjAGqg4IPhE2G634KlKSjGvAS/QKG+NtPx6Hn2WCD8KZF64kT3k29HME89vP B/sm4p0BzFYCBJD4reOKI04r272q0TAun1d808zj2JeGtITlVQjz2m6wqPDJVdS+YkKu WS6b0LWHrSfxKWxNG73XDUtpQe13XEot0k7HNQb8NlDK5jXE5vb+W4YqRrnzQRDV759x StXKwGTj1RGrD7puNkXfcIgAVjPakpl0YPUaZJ+Gz2WiSKA0V6CfLNGudKPVdPBCCWdU P5GaZ2o2XXOpPyWS4stvO9MUc90nClzaRXAD0bbix1tqsmd002y8BzABz522vdzaY28A g6KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l2si3934609ejd.191.2020.06.19.07.21.12; Fri, 19 Jun 2020 07:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1733091AbgFSOSe (ORCPT + 99 others); Fri, 19 Jun 2020 10:18:34 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:27960 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgFSOSe (ORCPT ); Fri, 19 Jun 2020 10:18:34 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05JE2FrA079813; Fri, 19 Jun 2020 10:17:26 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 31rthf0j9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jun 2020 10:17:26 -0400 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 05JE3tnP094985; Fri, 19 Jun 2020 10:17:26 -0400 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 31rthf0j8e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jun 2020 10:17:25 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 05JEFwJr010398; Fri, 19 Jun 2020 14:17:23 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma04fra.de.ibm.com with ESMTP id 31r18v1342-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jun 2020 14:17:23 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 05JEG2fY63635908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Jun 2020 14:16:02 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1CA3DA4054; Fri, 19 Jun 2020 14:17:20 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BE8B2A4062; Fri, 19 Jun 2020 14:17:18 +0000 (GMT) Received: from osiris (unknown [9.171.84.209]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 19 Jun 2020 14:17:18 +0000 (GMT) Date: Fri, 19 Jun 2020 16:17:17 +0200 From: Heiko Carstens To: Xiaoming Ni Cc: acme@kernel.org, alexander.shishkin@linux.intel.com, arnd@arndb.de, borntraeger@de.ibm.com, catalin.marinas@arm.com, christian@brauner.io, cyphar@cyphar.com, dhowells@redhat.com, ebiederm@xmission.com, fenghua.yu@intel.com, geert@linux-m68k.org, gor@linux.ibm.com, ink@jurassic.park.msu.ru, jolsa@redhat.com, linux@armlinux.org.uk, lkp@intel.com, mark.rutland@arm.com, mattst88@gmail.com, minchan@kernel.org, mingo@redhat.com, monstr@monstr.eu, namhyung@kernel.org, peterz@infradead.org, rth@twiddle.net, sargun@sargun.me, sfr@canb.auug.org.au, tony.luck@intel.com, will@kernel.org, akpm@linux-foundation.org, alex.huangjianhui@huawei.com, zhongjubin@huawei.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, linux-mm@kvack.org Subject: Re: [PATCH v2] s390: fix build error for sys_call_table_emu Message-ID: <20200619141717.GB9971@osiris> References: <20200618141426.16884-1-nixiaoming@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618141426.16884-1-nixiaoming@huawei.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-19_11:2020-06-19,2020-06-19 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 impostorscore=0 cotscore=-2147483648 bulkscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=771 suspectscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006190101 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 10:14:26PM +0800, Xiaoming Ni wrote: > Build error on s390: > arch/s390/kernel/entry.o: in function `sys_call_table_emu': > >> (.rodata+0x1288): undefined reference to `__s390_' > > In commit ("All arch: remove system call sys_sysctl") > 148 common fdatasync sys_fdatasync sys_fdatasync > -149 common _sysctl sys_sysctl compat_sys_sysctl > +149 common _sysctl sys_ni_syscall > 150 common mlock sys_mlock sys_mlock > > After the patch is integrated, there is a format error in the generated > arch/s390/include/generated/asm/syscall_table.h: > SYSCALL(sys_fdatasync, sys_fdatasync) > SYSCALL(sys_ni_syscall,) /* cause build error */ > SYSCALL(sys_mlock,sys_mlock) > > According to the guidance of Heiko Carstens, use "-" to fill the empty system call > Similarly, modify tools/perf/arch/s390/entry/syscalls/syscall.tbl. > > Fixes: ("All arch: remove system call sys_sysctl") > Fixes: https://lore.kernel.org/linuxppc-dev/20200616030734.87257-1-nixiaoming@huawei.com/ > Reported-by: kernel test robot > Signed-off-by: Xiaoming Ni > > changes in v2: > use "-" to fill the empty system call > > v1: https://lore.kernel.org/lkml/20200618110320.104013-1-nixiaoming@huawei.com/ > --- > arch/s390/kernel/syscalls/syscall.tbl | 2 +- > tools/perf/arch/s390/entry/syscalls/syscall.tbl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Heiko Carstens