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=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 E1789C6377B for ; Wed, 21 Jul 2021 20:33:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C484D61221 for ; Wed, 21 Jul 2021 20:33:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231633AbhGUTxO (ORCPT ); Wed, 21 Jul 2021 15:53:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:54882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbhGUTxN (ORCPT ); Wed, 21 Jul 2021 15:53:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4A24361003; Wed, 21 Jul 2021 20:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626899629; bh=HGW9P5rDF0FNLmwvEm5vgK5A2289qfyqH5xqCSY5fF4=; h=Date:From:To:Cc:Subject:Reply-To:From; b=tbmRbVK+eDC8G8iXO6Y5jm5CNLGCe0+N0gILT39ZCVuajmInUcq/8zP+d8OGLzD5M BmJGfWxXxqTOFbTjod1Nbr+rj2vsST8sFOF6SkWhtxMYDZqzHVDrAk6CMErdelS11/ g2IF1WDvpCPw2gmR6cMLZgL//vPXcYo1UzgG7v8cO15yae2dms48RmBqvzLNmUub3g xwnOgjPaNsxgCW4uhwSW7350ecUWGxhGF9bCpoaYsV80yhPboq/JsKx/GrqQuXmCgr Q+t0jFXfIor1lui1EkXGQMvnput/TaPtiD2IXibnMgH+skDVXWI7orMkZG8yh10j5r 6iaCRh5LE01Ig== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 10C985C09A4; Wed, 21 Jul 2021 13:33:49 -0700 (PDT) Date: Wed, 21 Jul 2021 13:33:49 -0700 From: "Paul E. McKenney" To: broonie@kernel.org Cc: w@1wt.eu, linux-kernel@vger.kernel.org Subject: nolibc and __attribute__((__unused__)) Message-ID: <20210721203349.GA3209274@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! My guess is that I should ignore the following checkpatch complaint on the assumption that checkpatch doesn't realize that this is not built as part of the Linux kernel. But if my guess is incorrect, please let me know, as it is a trivial change to make. Thanx, Paul ------------------------------------------------------------------------ ------------------------------------------------- /tmp/rcu/0002-tools-nolibc-Implement-msleep.patch ------------------------------------------------- WARNING: __always_unused or __maybe_unused is preferred over __attribute__((__unused__)) #24: FILE: tools/include/nolibc/nolibc.h:2246: +static __attribute__((unused)) total: 0 errors, 1 warnings, 19 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. /tmp/rcu/0002-tools-nolibc-Implement-msleep.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.