From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F2E7345CC4 for ; Fri, 5 Dec 2025 17:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764954742; cv=none; b=OBBUcX/8/sWVf+K60zs31Tz980Tvg6pN2vkNs9W4EwtLgZsuxErU3rocCWH25NCYux2Q63a8eut0NEe1RIx6AV+oU9Vlew6l8kN/gTNP89S1Rd1TBWRKAeGoQflMBhR4zy1F5ZaB+Bj+CvOA3Nfg0vW7fpVmxZlmizvG3mBM1mw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764954742; c=relaxed/simple; bh=PeM3U+qiUJyHEyS4FHxgahZdXga3yLayx7E6kX53b3w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mks/H3w8KJwQI409YjI36DmBrXzNdcBRyHRdkQWDwFVhM9wZnxAmMWdaSiZ8M1CLZGUqyNEhnjXw698BdzYcQMiYrtxnHQMsTj+42UBRv4oJW+PVmAXZXZCxZ62TeCJXa0f1dhHK6cS5cQvddsRbJJeR6TcuoozRLhpnnO50/ps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=i5tfFdwR; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i5tfFdwR" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-7aace33b75bso2268824b3a.1 for ; Fri, 05 Dec 2025 09:12:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764954734; x=1765559534; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=c4zEaQaL7Pv6lx/OIuxHCiaYn+nBOnbMD8B+U7ZMSws=; b=i5tfFdwRm59drgmdOJ3B9RXWJ6Pw/QlX2qAuqLzjNhsfLEdszQVDFpSrc64kLViifo VMFbclFJ4Hy9lLUfGfTwS/KukdAPDIWJRgWZ+tIlw2ImlPD899PlZzuTqLarWQqs6Mik jfGMMQVqPkKOncjy3H7gzLngj77i216yLhQa7/JDnvXxJrvFpUvwgR+7yU64iwAOXJmX 2mbkulgGb0umKQiaVEEmpErPHVTCpk2YxublgQE1DShQz4MJ3lAXIpph+tvN+i0JVs2K 81BQaNaZ7v0ls51Ems+5AmLmWqgO3apSOkv3patmVydLiq0VrfFgEEkXP3gYryMYkTBD DDiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764954734; x=1765559534; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c4zEaQaL7Pv6lx/OIuxHCiaYn+nBOnbMD8B+U7ZMSws=; b=o1IANUOpVyqFpX9e0J6QdhHpN+XLLkgaU5Ma2CPJSFqy17xSI4REkHHIZnmVaH7Obx sHjf0gYqTQKQ3t1SuSFvsgCHDHyqBvtID9D+fQk3TXGODTIrdtMLk/OIDzKVAuoTQZR6 z3tqZgge5Muiapn0uoWkJPQx18oxH+0G5OgYqB4inTdPV1oaaObzefhrd9DtmltOjhkz jYTMIfdakmIzNnJH5NLJdI2/LLaafUn7fyBBbp32O5NIxciP3CeHhbwwHSIXXYq71eYL N/O9lQajM+cBFNcIxN8JzMN07Vddpi5U2rLQajMIK+6uXze9oRQHLAUSeEuIU8t1/1Wn 1X5Q== X-Forwarded-Encrypted: i=1; AJvYcCVfQOVXmPLmvAMiV6i+Xp2duVRRLOQOwWhWUztoaKvm1M6e5uVNuUx9jSY6jBZ3vmJxZJgKnrM=@vger.kernel.org X-Gm-Message-State: AOJu0YxhGUY6cDE/lllxZKW6WZV9mk98sV4zPr9XH4OMaTVatOoaOEzC J5XLBNtNVT1CAAGMHUFqpTPUI0IgO1rIfVL0IrLbcGJQgAfiEk4UNbha X-Gm-Gg: ASbGncvA+ek7SkRpkQ0hCfD1iMRt+zN5G76G1a+EG4lmnNV9GAK0umqpPFgHhc+DYnl TsS/sk7V9bBJP3NLBmlowSGzUwf5n8N5DvbUsvaM/a5Q+6htWZGL7AODBWX85NDbtt0eyffA05T erOIfG6xnkZgHbq8eBRCjplSQd6x+hPEwG4vhcmfz87h8Gv4oXAjjRNMFrz9zmd2ZjA4O+4zyAB Rn+RhMhusXwNXTUQBXrY4kIWA9klz6340H0l0a6ok65gCYJ/uEZZZMzOosKA/ztA34MnMTXY4Bb 0hJHPcZ4puy36Rz/2LIYitqwT+YkkxaFdnddb0D12YhuoYHvtaoKIwTRjakLf+ENklQY5Rlb5NF lHZroBg5orT9mofT/xUEiTt8uJtvUMV5+XIm88IOA7DGgrNKs7gHOstPP0TEzGZP8sXJ76bdsjY qwPPGg7qj4iGsNxMkfRVaOKM8= X-Google-Smtp-Source: AGHT+IEILnyUDBxkUqKFnFNQ7Nhkhn0QxxXlIHLswHfB2urPR98N+iL6vUBWuopWt/6R6xiEyOLeuA== X-Received: by 2002:a05:7022:2596:b0:119:e569:f623 with SMTP id a92af1059eb24-11df0c47020mr6816898c88.28.1764954733575; Fri, 05 Dec 2025 09:12:13 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:da43:aeff:fecc:bfd5]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11df76ff44asm20697818c88.9.2025.12.05.09.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Dec 2025 09:12:13 -0800 (PST) Sender: Guenter Roeck From: Guenter Roeck To: Shuah Khan Cc: Jakub Kicinski , Christian Brauner , Thomas Gleixner , Ingo Molnar , Eric Dumazet , Kees Cook , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, wine-devel@winehq.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Guenter Roeck , Aleksa Sarai Subject: [PATCH v2 03/13] selftests/filesystems: fclog: Fix build warnings and errors Date: Fri, 5 Dec 2025 09:09:57 -0800 Message-ID: <20251205171010.515236-4-linux@roeck-us.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251205171010.515236-1-linux@roeck-us.net> References: <20251205171010.515236-1-linux@roeck-us.net> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix fclog.c:37:21: warning: call to undeclared function 'open' fclog.c:37:47: error: use of undeclared identifier 'O_RDONLY'; did you mean 'MS_RDONLY'? fclog.c:37:56: error: use of undeclared identifier 'O_CLOEXEC' by including fcntl.h. Fixes: df579e471111b ("selftests/filesystems: add basic fscontext log tests") Cc: Aleksa Sarai Signed-off-by: Guenter Roeck --- v2: Update subject and description to reflect that the patch also fixes build warnings. tools/testing/selftests/filesystems/fclog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/filesystems/fclog.c b/tools/testing/selftests/filesystems/fclog.c index 912a8b755c3b..d7cc3aaa8672 100644 --- a/tools/testing/selftests/filesystems/fclog.c +++ b/tools/testing/selftests/filesystems/fclog.c @@ -6,6 +6,7 @@ #include #include +#include #include #include #include -- 2.45.2