Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp762791imu; Thu, 3 Jan 2019 06:44:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/V1xGyevX3xH1zTkQaI0MZZIZ+U1+f5CeSXN2Gzn3sgIPz7ZN/YyqpsplZzKB1L5i+jWhg2 X-Received: by 2002:a62:7c47:: with SMTP id x68mr49094906pfc.209.1546526674540; Thu, 03 Jan 2019 06:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546526674; cv=none; d=google.com; s=arc-20160816; b=PiWEnPevmy+RcYBAyzSKTETMaEEx3WnL3+aftlEBeWeJA+7fqhaNDsOLtI3hTw7HXg b/9fi1qOCEUkgxmI5METKzFPh98FCwEoV6UKLbqgF/7+KjUHVtnXVgwqE/0QuVjxhhht zj4r/jSJWE0+WkfBvayfhQTUNnjLAQGiHITGAwCFU8YiGYvFAiy9We+HsE7lZmL0gE4y hvucLwK3xJipE6C2BhRGTLn7AMezk0P+6wBn9zb5dUvuFRiwnkMZ75PIExKF7+IfTpg6 EWpc+179L7hTJcA9dsJJLqbSf5JtPv8QObnSfLOWktEFIAbd9huWjAPZu6D+ZdEE0vFH hHTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=T6b5bnPCnQXCsVXcWoxqB9zy7YX5yza5nymdDa8uLzg=; b=Lcr56Dp+pLuXIoX9ZTJrx6YyDG6Vb2oGAfeIOho5lPsGpMRk5sItJ2/OGe/9oLfFsm pCAfbW01tPs+c/VDYCc9sV+18V7XkRgjcoKnDVNQ3QmrY9+waBogoumMTVw6xl517YYT kgkVz7Zw4phu1LYBFCWOpkIF0HYbGKMctHGWfyZ/D7oj7xFz089VmnyXF1wbH9u/i3Gf D8VgJNeGlO8VBc6eAEwo1pwfWSs4K7rllgaTZYkymY2vPjxiQrrkK46vajp+PODfFoN5 PHupi7RqbLYoTRE9dMjDPjKV1fUATe+DL74VSPC/cZegy0jPKkOu9NGuiopyGpE7azuB jnfA== 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 a195si15146264pfd.143.2019.01.03.06.44.04; Thu, 03 Jan 2019 06:44:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731057AbfACKpa (ORCPT + 99 others); Thu, 3 Jan 2019 05:45:30 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46639 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727515AbfACKp3 (ORCPT ); Thu, 3 Jan 2019 05:45:29 -0500 Received: by mail-ua1-f67.google.com with SMTP id v24so10779962uap.13; Thu, 03 Jan 2019 02:45:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T6b5bnPCnQXCsVXcWoxqB9zy7YX5yza5nymdDa8uLzg=; b=UDCDuxH5L1yWMBrNT4EAuvtO/rObLUxiWlEJb9imiLFjiAH8HcuwaQFjREH49QVf8a AJQtpe3N3fupwxZBidXbrwajOoshGlxMI+xrtt4jT24tdmKwhjslwzlU3xn3GNZyKTNR 1zTWdGcqwuI1kKtmq2CPnZQl4sGGsdda5JXDhJdMvKICielGIDK8gGIPf7IKY+kvX4vK qGPc9VvJUNVFt/tbxnewkD75GoHzfWHjAEvX/68Dc8CmcFVpy1kkGt4NvdFvmleIwZSD dybTMaEAngOsTJUVoOPZOzf7Y/rWT1NrBfzcspJrsBuP0/Pwlg58UozSMqjYXfbe3uPF PHnQ== X-Gm-Message-State: AJcUukfGn2bvYYrl8Jf/oxcitFmf78NktEspaDmUoYTXpu4tYogzU6up Xf8BZ76PzEHpRy384F0VKmT2zRZgayDY2vJmnjVBvjJ4 X-Received: by 2002:ab0:7251:: with SMTP id d17mr18113701uap.0.1546512328415; Thu, 03 Jan 2019 02:45:28 -0800 (PST) MIME-Version: 1.0 References: <1546442319-20461-1-git-send-email-firoz.khan@linaro.org> <1546442319-20461-2-git-send-email-firoz.khan@linaro.org> In-Reply-To: <1546442319-20461-2-git-send-email-firoz.khan@linaro.org> From: Geert Uytterhoeven Date: Thu, 3 Jan 2019 11:45:17 +0100 Message-ID: Subject: Re: [PATCH 1/2] m68k: remove nargs from __SYSCALL To: Firoz Khan Cc: linux-m68k , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , marcin.juszkiewicz@linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Firoz, Thanks for your patch! On Wed, Jan 2, 2019 at 4:19 PM Firoz Khan wrote: > The __SYSCALL macro's arguments are system call number, > system call entry name and number of arguments for the name, > system call. > > Argument- nargs in __SYSCALL(nr, entry, nargs) is neither Argument nargs > calculated nor used anywhere. So it would be better to > keep the implementaion as __SYSCALL(nr, entry). This will implementation > unifies the implementation with some other architetures unify architectures > too. > > Signed-off-by: Firoz Khan > --- > arch/m68k/kernel/syscalls/syscalltbl.sh | 4 ++-- > arch/m68k/kernel/syscalltable.S | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/m68k/kernel/syscalls/syscalltbl.sh b/arch/m68k/kernel/syscalls/syscalltbl.sh > index 85d78d9..904b8e6 100644 > --- a/arch/m68k/kernel/syscalls/syscalltbl.sh > +++ b/arch/m68k/kernel/syscalls/syscalltbl.sh > @@ -13,10 +13,10 @@ emit() { > t_entry="$3" > > while [ $t_nxt -lt $t_nr ]; do > - printf "__SYSCALL(%s, sys_ni_syscall, )\n" "${t_nxt}" > + printf "__SYSCALL(%s,sys_ni_syscall)\n" "${t_nxt}" Please keep the space after the comma. > t_nxt=$((t_nxt+1)) > done > - printf "__SYSCALL(%s, %s, )\n" "${t_nxt}" "${t_entry}" > + printf "__SYSCALL(%s,%s)\n" "${t_nxt}" "${t_entry}" Idem ditto. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds