From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45454C5519F for ; Thu, 12 Nov 2020 22:50:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF40620B80 for ; Thu, 12 Nov 2020 22:50:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=columbia.edu header.i=@columbia.edu header.b="Z5ZTdByM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726578AbgKLWu0 (ORCPT ); Thu, 12 Nov 2020 17:50:26 -0500 Received: from mx0a-00364e01.pphosted.com ([148.163.135.74]:35284 "EHLO mx0a-00364e01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbgKLWu0 (ORCPT ); Thu, 12 Nov 2020 17:50:26 -0500 X-Greylist: delayed 3204 seconds by postgrey-1.27 at vger.kernel.org; Thu, 12 Nov 2020 17:50:25 EST Received: from pps.filterd (m0167068.ppops.net [127.0.0.1]) by mx0a-00364e01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0ACLfI5E001970 for ; Thu, 12 Nov 2020 16:57:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=columbia.edu; h=date : from : to : subject : message-id : mime-version : content-type; s=pps01; bh=X34LAhEQrojm/xQlKaNpACIV1qmJ4JMAKxNy22ZzzLI=; b=Z5ZTdByMr589ndIQKvHDTd0RI/qIFZOSt1zcEL8++FtRaHH20XL7d9FNbxfNozeVlWZi nlXuTplnoqKbbydnkwdaukgDtrOOKgX+ArsPXFagaZ95qGXzzpckhVR/kgWO9URdM9gK sKunCB0YmbKm+zsbMK1p3bDIlYapFtKNsVpvxSUrRxGWEbi6Vgq/0ZePAZkG9CiT1PLl jWxz6LkWCEpiZ7rD7KBccHBLeC8qpE7hgq6y/fX0E1c/q0mrvxTnYA+J0/efDedKPEXM wU42+10chwIjLcgVphZ3TOdH04iWVlAGAfae1pJV/TrQi+5Vl+O/F7DtcTVg2DuI8S8j Bg== Received: from sendprdmail21.cc.columbia.edu (sendprdmail21.cc.columbia.edu [128.59.72.23]) by mx0a-00364e01.pphosted.com with ESMTP id 34npr2vc4a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 Nov 2020 16:57:01 -0500 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by sendprdmail21.cc.columbia.edu (8.14.7/8.14.4) with ESMTP id 0ACLv0FL059149 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 12 Nov 2020 16:57:00 -0500 Received: by mail-qt1-f198.google.com with SMTP id g12so4463064qtc.15 for ; Thu, 12 Nov 2020 13:57:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=X34LAhEQrojm/xQlKaNpACIV1qmJ4JMAKxNy22ZzzLI=; b=PBui+xzxF8ILTGuUKmRq4CjX/mnf+20EwWYr2X5bIn0p57MCmB0X1Ol9gX5ZKDRIq7 6f9RRh9+W5YRXQqc9CIbfO3N1wm/UUgM96F9LnogoH3ofK9zAqu07Uy6adob4+ahQbMD GIn5k2GLsTsn+z6AmRnFmBv/Zibtthkenq6bcbU5tNpUZCVS8nj8N5p9x/ZB90gfVsJD WSKlC7sX8TG1Xw7L6dy79pJ4ZQ6aXC70Syvw7ou2+aC+0b7nWJzSuZNohqhd5zr6Fq+p KDYamONKct1JI4fz4p51BuNoR1btZ8gDwuQ6UlFcJAuFNvoD5yCpHpBGVlT5zImtZkaO iRXw== X-Gm-Message-State: AOAM5328EWBRoezN+MFpfgbMfOhXv65ubOpHAuTDp2lef/FRXjFTQD23 Hcc6n63wwg7fnaVUKpA4v2Gnxw0mOO3LkEVRUn21Dw5c63lGjsUkXRtlO0iCcc9QN7tgwrN4vCr iDX02h2ZcMj2rCgiCt3vidvxbN7nt X-Received: by 2002:ac8:36bc:: with SMTP id a57mr1325104qtc.193.1605218219725; Thu, 12 Nov 2020 13:56:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/xqMVxvHiYraEYm6ElJbbYn7oRVQWMCPzyObG3eHL2S1E6CRBzWsYExrGdymXMxZBAeSsmw== X-Received: by 2002:ac8:36bc:: with SMTP id a57mr1325081qtc.193.1605218219440; Thu, 12 Nov 2020 13:56:59 -0800 (PST) Received: from charmander (dyn-160-39-33-233.dyn.columbia.edu. [160.39.33.233]) by smtp.gmail.com with ESMTPSA id w45sm6070084qtw.96.2020.11.12.13.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 13:56:59 -0800 (PST) Date: Thu, 12 Nov 2020 16:56:57 -0500 From: Tal Zussman To: Arnd Bergmann , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH] syscalls: Fix file comments for syscalls implemented in kernel/sys.c Message-ID: <20201112215657.GA4539@charmander> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-12_12:2020-11-12,2020-11-12 signatures=0 X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 priorityscore=1501 lowpriorityscore=10 phishscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 mlxscore=0 adultscore=0 clxscore=1011 spamscore=0 impostorscore=10 bulkscore=10 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011120124 Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org The relevant syscalls were previously moved from kernel/timer.c to kernel/sys.c, but the comments weren't updated to reflect this change. Fixing these comments messes up the alphabetical ordering of syscalls by filename. This could be fixed by merging the two groups of kernel/sys.c syscalls, but that would require reordering the syscalls and renumbering them to maintain the numerical order in unistd.h. Signed-off-by: Tal Zussman --- include/linux/syscalls.h | 2 +- include/uapi/asm-generic/unistd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 37bea07c12f2..629870fbb2c9 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -744,7 +744,7 @@ asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv, asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p); asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p); -/* kernel/timer.c */ +/* kernel/sys.c */ asmlinkage long sys_getpid(void); asmlinkage long sys_getppid(void); asmlinkage long sys_getuid(void); diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 2056318988f7..fc48c64700eb 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -517,7 +517,7 @@ __SC_COMP(__NR_settimeofday, sys_settimeofday, compat_sys_settimeofday) __SC_3264(__NR_adjtimex, sys_adjtimex_time32, sys_adjtimex) #endif -/* kernel/timer.c */ +/* kernel/sys.c */ #define __NR_getpid 172 __SYSCALL(__NR_getpid, sys_getpid) #define __NR_getppid 173 -- 2.20.1