From patchwork Sat Sep 14 13:10:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3495 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EC7063F03C for ; Sat, 14 Sep 2024 15:10:42 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-374ba33b2d2sf1311189f8f.2 for ; Sat, 14 Sep 2024 06:10:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726319442; cv=pass; d=google.com; s=arc-20240605; b=KjVJSHMTnnObcDHjSZdTwyPFJQRYSQfRQV0HMbVp3YPDHopLGAA1o8IyM399m83hbi f/Idda9EU8ifHHorWohTFtM4KFewbG3Ols9MH1vZWkuFsWigQHv2kddYxxBC0uwqCggd hhBuXhXt0MtMqMNShtn6DgJGzmtgB86we0GyBTYH5LqgjcrJx0GLTOPOJdwlmP84v8MI xXEP83YsNWjAvN0lYL717vsulwhO5tJBi664x77I7oOwJNk9V1ExFJ2ZokHTGsRJfADB 88PYlN3YP0RdkT3a5JKJrKgtA1QsxCVOduVF91gJh71z3uk2Wh6wUYiybAw48SN3wmui SFOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1zkhjRUPdtV5mfjsTUI696Q+8OTiiLuBCro9Ga2TzUk=; fh=417/rjASY6Ec9Y9IPMo0t6tQhUJL9iIULAqYALJMbis=; b=dLYAmCv32WDPVCRIj3LoTOogb6Qbs62JkFVbLHGikPXKFt5EW8s1jbkNrXdUpbjAH1 nWpVpv/K9TFj8NEX2vNb9bfFJ9HxCqbpyYlyttN7jnxYM/QpFJ5z79ybscUwjqIdOkjm qxGd6zyrBTO3cD6iR/OhPtdtjmQXVFxlJuRx00kSY+QmGfSGjL1WhS6dfNvuPb5iFeqD I1clgd9wfsIp7SyCp4NRJtoY3mQsbCjt8rCVFlSke6Rh0FwIauhrk2KjZEyIoIcZNxVV gngu5j6JXeESrkS/LXOMN/Qvh97xExwX1dnE8t3545T+LjsnWqPI1VrG3+dvmy9jQm4X /Bxw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K+5g2Bak; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1726319442; x=1726924242; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1zkhjRUPdtV5mfjsTUI696Q+8OTiiLuBCro9Ga2TzUk=; b=XUyw4kb4uJXDFw5VG26PcqMAfKtIdi+rf1emBPYovhbbfQY6aK6pxaEYTmdyRkvhep hILX4CRP/a9iXefOguJD6+V1/JLLVsj7aPZb5qIinuVnhvIB24ss5uhJKkw9b9J0Cx2D waySuzV4ihgpykapsLfU+LJVPmSnxNlJV2cHM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726319442; x=1726924242; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1zkhjRUPdtV5mfjsTUI696Q+8OTiiLuBCro9Ga2TzUk=; b=FWin77KZsQkaO2NhvSb7KP/FA3Q3hTIBM88YX164jTQLzpFaGkC5PRUGyxuK5t8IsR aK7OF5/bd6EBBql4eKG08VAeI1vYpEh2DKLjRXB5MTF4VGdur+SPNy14O3/TIHS/fN1y SN8PV9M+q5BaiJ0H0C/J6wEN7WdQUXcvGvd6eSB2joYFvKAZUf+5R6mWA6fMot0cBYlP Asc1tK0nJI7SMuf7IAz9oDJxkYd2+ulUsnVk4u8OI/wEhyD+LZGaZASB/9JqNDp7x8Pa LMqfRo3XItL/M58xTkcPebt9ob++OYFIBUWqBLsg1pln46gRyTl6cHVGwFZshLi6iDWj 64Uw== X-Forwarded-Encrypted: i=2; AJvYcCVk9uVVeES8av5Rk7u93pGJt0EEjgoWNWUi5EsmPOS59cV4fIt3sae+qOvgYOxFvADpmDrnZerVsQW0Vzuy@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxNyVd8BH4TtAzycbx5J+QLo6JFx5tmhoMYxGAFqdkwXIT924wW GQDRIHv2H8qooVFHbgJXruZa2oQC54bDGspJpcDOGIIVpWMt6mfcawfrn5spzf0pjA== X-Google-Smtp-Source: AGHT+IEDCsq0/OIAtjSmZnlZGshfzCYjb6bU2xD43XqJc8yGhnXzMgKJunowJzlq54uZnP+ZFCq4zQ== X-Received: by 2002:a05:6000:ac4:b0:366:ee9b:847 with SMTP id ffacd0b85a97d-378c2d05d7emr5243331f8f.14.1726319442267; Sat, 14 Sep 2024 06:10:42 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:cf08:0:b0:374:d287:ec15 with SMTP id ffacd0b85a97d-378c2102403ls798750f8f.1.-pod-prod-03-eu; Sat, 14 Sep 2024 06:10:41 -0700 (PDT) X-Received: by 2002:a05:6000:1cc:b0:375:56ed:a3a0 with SMTP id ffacd0b85a97d-378c2d5a0damr6259964f8f.43.1726319440561; Sat, 14 Sep 2024 06:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726319440; cv=none; d=google.com; s=arc-20160816; b=VY733+FASQKdd4EOuqZGKZ4ZQe7UFg3rt5FeRkMDotg+ck8kzMGoyiId5uSvf+UL7A 1xmBR0D9eTCFXqX+9MnSL0tQinEfoJsjgeGbsDT5KSxnMR418mdbRhEweQhr1ZOnGQhF kzMvPl/3F8hMtnVpTKQZX9KJO91TWnaInRHB6XIRbZhf2RrlCh5sah8O+c9r0K0EBEzF QW8oFTZt/W97o9F7PdcAgj2vXc9DHsI1oX80OYNYNt/gPgRYTzspN6iWYz8AyE0uToca 4fh8hdN3QS7MnD/0fHhCn/fN79qGApIB8xXDjmT+VxPkccn/y5ETCKYAjasl5WU7Bh4z u7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=irWwjRvbrXgYO6G1q2SNe2GMMklB2ljpt6PH6bfCvYA=; fh=CA8ljWe73EVE5uJq56GvEFcYarXEJHMKhIs1g8p5Lg0=; b=xPqSjAwCA5YYfuenMapl7qFDRTipb3JKn3nnXWTsdp1tSZXu3TyKlQibnl2L3e5W5a Xq4aeRS6X05ilolDrm9lPLOGTS5T3/AAbjsXSSCurAdB+mNRtPRe/t0UxHS5yBT0HaGJ qa+8Qs1IdOtQhyMJROHvDV9FAy6Tv2i/2Z58cS9BaxYm28c2+zZQHLDsoCJdOxQSoYor Utp/+b19usyBud3nlXhZVRfQem8WP8UfvcH9zfxvhkBaiGr0w0EdaavGqn5Dm6BmsBfP u1RvUex/a8i0VSamI6Zac4Gn2wNOwNfj7C4DRLiur4YmZaRpGoGoZdUR6aXBKW/S1toZ yIJg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K+5g2Bak; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-378e73da0f1sor194197f8f.1.2024.09.14.06.10.40 for (Google Transport Security); Sat, 14 Sep 2024 06:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:adf:f6c6:0:b0:374:baf1:41cb with SMTP id ffacd0b85a97d-378c2cfedebmr5576893f8f.4.1726319439164; Sat, 14 Sep 2024 06:10:39 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.lan ([2a02:61:a2:0:e74c:3b5d:e13e:6e77]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73f97d6sm1731010f8f.52.2024.09.14.06.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Sep 2024 06:10:38 -0700 (PDT) From: Dario Binacchi To: xenomai@lists.linux.dev Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/1] smokey: fix build failure Date: Sat, 14 Sep 2024 15:10:26 +0200 Message-ID: <20240914131026.1035993-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=K+5g2Bak; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch fixes the following building failure raised on bumping Xenomai to version 3.2.5 in Buildroot: In file included from helpers.c:29: ../../include/smokey/smokey.h:258:39: error: unknown type name ‘bool’ 258 | int smokey_modprobe(const char *name, bool silent); | ^~~~ ../../include/smokey/smokey.h:27:1: note: ‘bool’ is defined in header ‘’; did you forget to ‘#include ’? 26 | #include +++ |+#include 27 | In file included from init.c:33: ../../include/smokey/smokey.h:258:39: error: unknown type name ‘bool’ 258 | int smokey_modprobe(const char *name, bool silent); | ^~~~ ../../include/smokey/smokey.h:26:1: note: ‘bool’ is defined in header ‘’; did you forget to ‘#include ’? 25 | #include +++ |+#include 26 | #include helpers.c:299:39: error: unknown type name ‘bool’ 299 | int smokey_modprobe(const char *name, bool silent) | ^~~~ helpers.c:30:1: note: ‘bool’ is defined in header ‘’; did you forget to ‘#include ’? 29 | #include +++ |+#include Signed-off-by: Dario Binacchi --- include/smokey/smokey.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/smokey/smokey.h b/include/smokey/smokey.h index cf9701966db8..45dd0dcd017b 100644 --- a/include/smokey/smokey.h +++ b/include/smokey/smokey.h @@ -19,6 +19,7 @@ #define _XENOMAI_SMOKEY_SMOKEY_H #include +#include #include #include #include