From patchwork Wed May 31 13:08:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 9757011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 73FF1602F0 for ; Wed, 31 May 2017 13:14:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 711B9265B9 for ; Wed, 31 May 2017 13:14:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 646EF28285; Wed, 31 May 2017 13:14:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7CB4265B9 for ; Wed, 31 May 2017 13:14:57 +0000 (UTC) Received: from localhost ([::1]:59346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG3Si-0003cR-Mc for patchwork-qemu-devel@patchwork.kernel.org; Wed, 31 May 2017 09:14:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dG3Mo-0007dX-FY for qemu-devel@nongnu.org; Wed, 31 May 2017 09:08:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dG3Mm-0003fV-KO for qemu-devel@nongnu.org; Wed, 31 May 2017 09:08:50 -0400 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]:33196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dG3Mm-0003fH-CC for qemu-devel@nongnu.org; Wed, 31 May 2017 09:08:48 -0400 Received: by mail-lf0-x234.google.com with SMTP id m18so8647865lfj.0 for ; Wed, 31 May 2017 06:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9slioLAU/+0AtMvYOjHXplF2CioW0NghDJSR891na7s=; b=h/EguJk+jumuQw0nNZpbYLgPQJ8k1fUtjW1npAFHdpi6pNaz1OTBAFDQm/+Liqh12/ pMN9fvVPr1gOL9LcRcPzUA5KU7AuyDcQtLuzsGYQGRllNG2Wg5Gt07EtP5xpc6uszPlW GEjKYGArDuHa2lTcvtNN9hWANeqJcP/KIY8y8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9slioLAU/+0AtMvYOjHXplF2CioW0NghDJSR891na7s=; b=fryLfoXtCH0MbdMYTdZIou7jXFxP+3IP5vyO231qjALU2/457/VxhxkiA4qSzMGost 0wYJj2U/PQapXOP2yyYeWdFylOsmjELzryrZWs6eA3z8fSKxae1SvK3+3KQh6INkTa0v kLmXjzyiXOBUZZpkXuEbJ4Q/4ylO6E5h9py8+eJ1XstkWlRmco42Eiltar0sd2h+ks3q Whi5704Of7i942W+ZvXz5dj/8fgpJ+5FX7nzyQJaVE05zwqCdK86yeTaAjoRIBJ7f+0N yRygUSYZeR69M4lCS4wWdejsD5WzYSNafRPMZy4bL3RjjVFnpdE1h1nWFc+ar6nUamk9 /qXQ== X-Gm-Message-State: AODbwcBjHAw+AdDdwDSKrblGYj7VxRXXjTmzkreBo3Z3OE3Wb6MUIMIK GZoOQFoikT2v4/ayu2wx5Q== X-Received: by 10.25.74.196 with SMTP id x187mr7813253lfa.164.1496236126943; Wed, 31 May 2017 06:08:46 -0700 (PDT) Received: from localhost.localdomain (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id o101sm3741766lfg.3.2017.05.31.06.08.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 06:08:46 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Wed, 31 May 2017 16:08:23 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::234 Subject: [Qemu-devel] [PULL 11/15] linux-user: fix argument type declaration of rt_sigqueinfo() syscall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Milo=C5=A1=20Stojanovi=C4=87?= , stefanha@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Miloš Stojanović Change the type of the first argument of rt_sigqueinfo() from int to pid_t in the syscall declaration to match specifications of the system call. Proper spacing is added to satisfy checkpatch.pl. Signed-off-by: Miloš Stojanović Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Riku Voipio --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index de85bce167..3373853bb9 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -274,7 +274,7 @@ _syscall3(int, sys_getdents64, uint, fd, struct linux_dirent64 *, dirp, uint, co _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, loff_t *, res, uint, wh); #endif -_syscall3(int,sys_rt_sigqueueinfo,int,pid,int,sig,siginfo_t *,uinfo) +_syscall3(int, sys_rt_sigqueueinfo, pid_t, pid, int, sig, siginfo_t *, uinfo) _syscall3(int,sys_syslog,int,type,char*,bufp,int,len) #ifdef __NR_exit_group _syscall1(int,exit_group,int,error_code)