Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp516904rwe; Fri, 26 Aug 2022 09:05:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR443rkWn2aw3OB0SB34QEKyYEztTPKfciH2cbx2Aa3I3OjJsPmmmnjur6vHwZReAmKj7sAg X-Received: by 2002:a17:907:7fa0:b0:73c:8c93:9357 with SMTP id qk32-20020a1709077fa000b0073c8c939357mr5983082ejc.482.1661529951460; Fri, 26 Aug 2022 09:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661529951; cv=none; d=google.com; s=arc-20160816; b=IcnzP8sOG0Qszimr//ab32SwCCTEuclZNHLw2WL5NEVQCIA2cE68biKFsF8G1h/b0u ARmxzn/lbsv2LVf77YjtzHeRuNdT+j0E70S+N+3hiazlIHUQTYMYJmQOEiWFjm1zKIfi +YLxndq8hIClpWAjwcV7pX5bBZMEupnaIG+bmDKvz1CG7bEykmrM6YSgqA4YW+n0ZyZt rybzdUc5J6O7ePC9cQ6yAB2JJxOr9OYUlDGmGLgaweZVQnRu8S4xAxffII/cwP/mGLJC FEeohg6JrN6xMCzXXzqYP+bMOzBpBBtrVKVJtp6XSibmNYho2JJp1zKdKPVw1m4ftrXR WbKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=FBE5c3Cb0io2EMZmnEJklN8F270o6VcUbE5vEqj0b/Q=; b=ltfdtwZ8gjhq4goKC/9e4pY+mLL6ZWDdhQ4obHghZpNiLOoZK+FNce3vVlYXqUrj8a l9fWkl2M85xhhtveI0fRVW/H9bdTaXIrGFO4Hbor4WBsI/VSUVFDQrkZU1WBu9PmNMzj ZBvE+5/C2xqgweGyS+DOBmDjhIg0/fwXrzGn+7Jc3pDE/1055rjJkZuGCejdoJ6BFe2G Esc8gVUkpnVqqrG0NKo95fZTX4rE7C2jK9PH1BQKmsQc4wO0VTBC+D8WXCzclucuwieb iI4EZKXrRSJGT5JlaHnJLWSDmfc8SX7DRkOxM8LPAk4YuzbX1xyAwAGnkb8x0poKLcUc eDfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b="G/iLjyvG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he42-20020a1709073daa00b0073d94d17b5fsi1932050ejc.625.2022.08.26.09.05.24; Fri, 26 Aug 2022 09:05:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b="G/iLjyvG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbiHZPaw (ORCPT + 99 others); Fri, 26 Aug 2022 11:30:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238115AbiHZPaP (ORCPT ); Fri, 26 Aug 2022 11:30:15 -0400 Received: from mout.web.de (mout.web.de [217.72.192.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED17A468 for ; Fri, 26 Aug 2022 08:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1661527768; bh=jFRtf1LxuJEWwKyH8LZdvn6lgdX6hA/+rjd0sWNk1dc=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=G/iLjyvG9KKOCRRyrYr18cnrBy23tEwHJKaTBV/hpnZtHVjztZknU1PrnWhzwnGxz A7PDbdlB7qfI7DDzloKKrXGRodI+4oNr0xCefJpo6y1U4U5bVjc0JRdzEPv/mxZz5K LWPpb3sICfbcO8pEER8nc5rniEdx+uC5yc5+bWo4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from gecko ([46.223.150.91]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MTOha-1oqndU36tQ-00TsNO; Fri, 26 Aug 2022 17:29:28 +0200 Date: Fri, 26 Aug 2022 15:29:27 +0000 From: Lukas Straub To: linux-um Cc: Randy Dunlap , Richard Weinberger , Anton Ivanov , Johannes Berg , , Subject: [PATCH 1/2] um: Cleanup syscall_handler_t cast in syscalls_32.h Message-ID: <20220826152927.193d262c@gecko> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/2_zsh.QdJpcK7WunS7oTK32"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Provags-ID: V03:K1:QdtO+UEvnn0+3Wht8DQQuaf+2LUmJ9JpRJiEPU6tg1PTlJne/6t HKNdsHH8xM/KyoCz2WzVb04dpI2J6stfSv18fleCxeR1aAuhjrLAOVll1f/lNWtp+8/6tnz hyRbKSS6LWC5iebLb9cNqaBkbf4avhVwMmeCPG3pPzLC/eNASZwWSyRHSzm1v/MhnlfjdWH 8wTxiXb2fgop9cpPM3yIw== X-UI-Out-Filterresults: notjunk:1;V03:K0:WD7bjhK1kxQ=:JVHT/zaZYxtUCU3DhPGABS sf+gG06sqhmVQ8vLuTtUVP9Q98Mag3NjzgugTDs5KMlPqktWYdK4dDSkTRzuuVMsx2CSyjXRh 7A6xtzM+0UuJuAbH9HlHoKP06FNYohgH2OlNJHI75NulVLVN+XQa/R73xQSxPFPhPGBug5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ID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/2_zsh.QdJpcK7WunS7oTK32 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Like in f4f03f299a56ce4d73c5431e0327b3b6cb55ebb9 "um: Cleanup syscall_handler_t definition/cast, fix warning", remove the cast to to fix the compiler warning. Signed-off-by: Lukas Straub --- arch/x86/um/shared/sysdep/syscalls_32.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/um/shared/sysdep/syscalls_32.h b/arch/x86/um/shared/s= ysdep/syscalls_32.h index 68fd2cf526fd..f6e9f84397e7 100644 --- a/arch/x86/um/shared/sysdep/syscalls_32.h +++ b/arch/x86/um/shared/sysdep/syscalls_32.h @@ -6,10 +6,9 @@ #include #include =20 -typedef long syscall_handler_t(struct pt_regs); +typedef long syscall_handler_t(struct syscall_args); =20 extern syscall_handler_t *sys_call_table[]; =20 #define EXECUTE_SYSCALL(syscall, regs) \ - ((long (*)(struct syscall_args)) \ - (*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs)) + ((*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs)) --=20 2.37.2 --Sig_/2_zsh.QdJpcK7WunS7oTK32 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg/qxWKDZuPtyYo+kNasLKJxdslgFAmMI5tcACgkQNasLKJxd sli58g//YFp2irBcbLtEWRCL8FVxCc/fDmNk99rBRasiEUeEQ+l21SkJqqUUIhYe SxNDovCVZC5pFDJZbSc+a3Gd+GQGNoQojL9V6U4B6JA2r98nzOYg7Demxin2fvm5 BA0ONTLJ4e7J156JSqX9z8lw//sk3vetdhRCFB7qh8fsUlm7dN5je4HxLfG+HRKH tNWQb8Gp5P29mNDq4YRh95Xv+hMgKbOTPVb/vMLsXv9ZRVU+U2wVK/9vDtf96KgP 7NI8/g1LgcyQ9Efk+jiVjCIrqG20smACCp6mE6yPIuumZIJ7FkqujTd//BdptYns c6HejzHgNbi2wpSuueV667SE4nKatPmXfqr26ZsVM1MoonImQ6ThN/3Tcb6c5Xtl SPeafkPv/9UzREQzTdbLy5pW0pzFmyCeqJfTPMzemA553WxNQwfIWrZjbt1Kyuh0 Mx9aKuQ+XK5nquLwG4EdktA3gi6q+KK88UflateXMX4HCyhPuolGNvgY4He1EnVi IPrabG4xn07xMZXKfBi9VdyDRU8C9VbdmqvY6mA8IBLlszWAZz2lMrveuCnxoMlw TgWthGHqpm7ec73DL4xhPsUUif4q+lLf2N22ezViwiO+BKCvAVTt7sqnpHWrK6M+ PDWDvhuQYsNvcCJn1Zvw97YQyH/GM0jErNFZKPHDfnc7xOLvmt8= =jB+v -----END PGP SIGNATURE----- --Sig_/2_zsh.QdJpcK7WunS7oTK32--