Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1126501ybp; Fri, 11 Oct 2019 09:19:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcje8uJm81vYywBLgmtCwjJn8/woRRS02Q+jC43ycAoxWKb6MdHQkoeYN0yNDft/VCRJoO X-Received: by 2002:a50:d083:: with SMTP id v3mr14187946edd.51.1570810786690; Fri, 11 Oct 2019 09:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570810786; cv=none; d=google.com; s=arc-20160816; b=sN4JOVzIkgYTl3OZVTVKf4yy2F6plUMrt908diACepB42A9eVMTqEDDRopzW+1RPUD AzXNsJ+HQ+ANtFsBXU+NV5LfH1hvSvqxJsS4k9oiqPlLxLm7JhyDKLb/Th1XB7YII5Ve 4JllrAz+TyD3H/m7rs1PmezuVjyvRvzSAE7PoPzCmardXR8tqWltLQ7298zlTIemJGa0 UCdJ8pvLtJLgcxDFZ95V8njXAkZhEzo8ZGE3UK7yUa64y60ZMA5f0CWtqDPuw/eANCJd wcRNIY98rGr+12TCOhXt18coOtPrxs7sgbMF9Y1aOfRyNEb1++wvOOcqFEyUJmmiZdMV 6/KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id :organization:subject:from:to; bh=c757PpUlax883CD5A59tirS6J2WrZpahwoFI+JWMfV0=; b=UWK4JyNATxaw7dg9QNo5jxeBOnGakN0ibVc0j2SUje4XDgYpTnkN06+abxjhpUYopf FlVgHqt52yvua/RMLaHIxxcIbQ1N0YFcSV5ZToO3oYPPjpumaVlPNAo4FJIyMoKiXw3A /gAYihecERq576npFNc+myvgFoJfGLLvbqkiU1/5apcpgJ45izX7G06XBjfIcpCh4S2D x4uQTQig+AP/mawnpLr/i3pjXdz2T6mOJ7YGWZ+KJ4mSJ/xAsjg9+zDcsMqPmiH3obOP SYi9xDnJlfmpK606zo9eFS3i1/WLlXM6cgG0jmzs1nUoqEaVxLROF0245dZK+2F4HpUb 7LxQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si5674401edr.187.2019.10.11.09.19.22; Fri, 11 Oct 2019 09:19:46 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728191AbfJKQTB (ORCPT + 99 others); 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