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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B90BEEB64DC for ; Mon, 17 Jul 2023 07:38:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230378AbjGQHh7 (ORCPT ); Mon, 17 Jul 2023 03:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbjGQHh6 (ORCPT ); Mon, 17 Jul 2023 03:37:58 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80901E7 for ; Mon, 17 Jul 2023 00:37:57 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 36H7bdVh028814; Mon, 17 Jul 2023 09:37:39 +0200 Date: Mon, 17 Jul 2023 09:37:39 +0200 From: Willy Tarreau To: shijie001@208suo.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/nolibc: Fix warnings in ctype.h Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, Jul 17, 2023 at 03:18:50PM +0800, shijie001@208suo.com wrote: > The following checkpatch warnings are removed: > WARNING: __always_unused or __maybe_unused is preferred over > __attribute__((__unused__)) Thanks but that's userland code, which doesn't have access to the kernel macros, hence this usage. Regards, willy