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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 83FF1C47404 for ; Fri, 11 Oct 2019 16:19:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A93B206A1 for ; Fri, 11 Oct 2019 16:19:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728303AbfJKQTB (ORCPT ); Fri, 11 Oct 2019 12:19:01 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:39908 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfJKQTA (ORCPT ); Fri, 11 Oct 2019 12:19:00 -0400 Received: from [167.98.27.226] (helo=[10.35.5.173]) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iIxd5-0001df-EW; Fri, 11 Oct 2019 17:18:59 +0100 To: "linux-kernel@vger.kernel.org" , linux-sparse@vger.kernel.org From: Ben Dooks Subject: sparse warnings on undeclared asmlinkage Organization: Codethink Limited. Message-ID: <67799c6b-77c1-8488-9595-38ca734e8d5f@codethink.co.uk> Date: Fri, 11 Oct 2019 17:18:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I was reviewing the sparse output for the current kernel release and note there are a number of warnings about un-declared functions which are only used for code in assembly. I was wondering if we should just ignore those, and have either a new attribute for "undeclared is ok" or to make spare just ignore anything with the syscall_linkage attribute? -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html