From patchwork Thu Sep 5 12:17:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792240 X-Patchwork-Delegate: bpf@iogearbox.net Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 D906819E7D8; Thu, 5 Sep 2024 12:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538841; cv=none; b=MyPkrhnz3a/fgGkLVVUxnh3W1u+JYhUjJBhSR11Elnz6EZiJrm3IjBRVjjq/Bc82OLbNh1608mKrz26QW03AEFr2q8YJVJOV65PZlVbas0cXeRNFolaHoZxKMRvFEyJv7YqwEz40W3wc6uwq0SBObNCEprywXLWJcvTSf0LHVco= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538841; c=relaxed/simple; bh=fVm9Y/QOEUMr9rR39oqknRUYUU2nULL1YNvSqQyImNA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nqAR8fdS88InJkHRbnXolSsr+M8Ih7TPPmP3KQRKsahk0ETa4dD6QLJTUy2H/8ipl6KPrTXdEHiyNFTqH/jfps1z2++KwVhwBQbCTiOnxvK+VYjenAwpglyuAViTpXKtx3PO7Wofh0Vgubis8IPAHY0jioJKcZNQmeKtC/gcF/w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VFLf+KcT; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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="VFLf+KcT" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42c94eb9822so5596045e9.0; Thu, 05 Sep 2024 05:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538836; x=1726143636; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4glM/3FKW/rcwhLCtH6pyVF0Iqx1WPdoTBExaKLwHXc=; b=VFLf+KcTOIAe4aFsfcURbJmSeuqVl/adN+DX4iQQMbILFN6Nkwdv/LftJ4ZPOVlt7A SJdatd3DAPNVKRTDPEKVuKsWDM5/ASIeuwAhQoI3cgWslBV2sC17ThgoQDoZR91XmQbo 7toHmne0uL39l8gi+IXWacs4KkIhNw3ZxMTfNaR/qXYJsjUYTCMw7V6KG3wIGQqO5p88 tcXF66pKdY+MZuFAfVAg6Z+RCBWA5XInZscU5nydVhA9qDvPFKHPqzuJ1zNAephOkKgN revYkrefLdY2UjtiGUY1KaLvAzv5sPakm5VrZYrmSpT5Pv5aJTyRnCMKYkHFGvJ89IJf 3tBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538836; x=1726143636; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4glM/3FKW/rcwhLCtH6pyVF0Iqx1WPdoTBExaKLwHXc=; b=JSB6kLg1GiEiRyGMF05u/8haLOLNqfVirFZwZtlGt2iBQqMeeyR/auQ/+ko0AZJt/9 eRvmWux74Q6xwr3v2KHkeDMO72g01QYeq42PJLAqydXC3h2AVGj83iAmWQ7dfPyN7EoQ uto1cmhUf/r9FRdC1U4nDjMrqgit0z1zYMCGZYADJVNfRawot6aSM5vIt4IG9dHJ94H0 zBQZ0yWmcal6Xn4GW314eGPdWNkzBskDn2NaLFZbdvMalwP4POaAah/Uetuhhq2KLY5e Nv7xCZLgRlV1K1Ccgr05i/mz6KRycIb5A4nkRFsEyPb22iEymWBv3FnWdsF+Dy5EjSj2 5hOA== X-Forwarded-Encrypted: i=1; AJvYcCWG6/J3jrRT6oIo5+5ZS/LFXq5jao2hgJ541/rs9gmrxhbMYEpzskZ/503IaGFAQ9JyOUQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yywz/DLSnk7MrljEEnJ2xYo9k8xxl+fanLZBsHIuuEzrVCYopNY VmqsWcnNDEC+MzXoII3uG7wuKuS7SumzlgoJhW+0IwFgi3lMladLdDc3y+OW/3I= X-Google-Smtp-Source: AGHT+IE6tJ2IaKVHuBEqFc37narZUGnnVfK/9FWMttcdTYXFXtxkPDCB7dPPNI0rwquU3G4uiS+W9g== X-Received: by 2002:a05:600c:190f:b0:426:6f0e:a60 with SMTP id 5b1f17b1804b1-42c7b5b3ed4mr109911685e9.17.1725538836397; Thu, 05 Sep 2024 05:20:36 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:35 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf@vger.kernel.org Subject: [PATCH 08/18] bpf: Include instead of Date: Thu, 5 Sep 2024 14:17:16 +0200 Message-ID: <20240905122020.872466-9-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: John Fastabend Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: KP Singh Cc: Stanislav Fomichev Cc: Hao Luo Cc: Jiri Olsa Cc: bpf@vger.kernel.org --- kernel/bpf/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 7ee62e38faf0..3f0d1eb7f5b0 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include From patchwork Thu Sep 5 12:17:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792251 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 C01A619F404; Thu, 5 Sep 2024 12:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538843; cv=none; b=jcX2RquCilD0DgXM34qvYulPNOE5a9RUFVDI1FiBy3oUUMSUmM/+/hPAheDxZ6nta6CYwBn6KgJygBTqKAJe3wg8jGyIvFdtyMDq2+sXwYdJkwl1x8lcdz9I7OREMeAFs0XObml+xUtYbHJXfxwiS+MdjShlQzw/1WU9OeHwdgY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538843; c=relaxed/simple; bh=1WPNrH7MIg6nPqzcTONiN60aqZQzKn6XZDgzP15UyPE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OqFPdEx4Gj86k90eCeyyJNsvzT8Nu6elqQ2lNoI20OzEAjBC4bA5Ymz/7z4n3vf6ihbo/+RyJbzdyLCSYzh0ZJXLpOWdGzMVrxOJcW0tCWw2Qp+mWL/gO/rIO0MNJkLYNF+cd5yqIv7GaR3zyFG+rEBk3+kEq/uhna7dUbn0QbE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YlseN/c2; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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="YlseN/c2" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42c7bc97423so7277875e9.0; Thu, 05 Sep 2024 05:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538840; x=1726143640; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0uKqVutEytS68y9quKuA8oZ9AWLRXiVRK4dLthQdVgU=; b=YlseN/c2oiR3pUBMCZ3Lw2WMjh8eSCd2FCJKFmcPegz1OnXSEz97TnX7oUMQSrW1sO iPBQt5fTlYKrRd8neq9+9yRZozsniNT2xdhpUexN/xwmwMZHKAlkgMhRTYQbTH08FGyq ZXcDKPevxQ1dycBtC9O4C7Ii0fW7CQnjPoXMCKZdQHhqoYvDtWvBGwI9e5mZUR0Z+O/h EnKWGxIZT6raP3RXbdPcF7j123UVqg7TODrixchXbNFNm5GogOvJ7nrlZms2r9WXrE7d 8W+rh9uPbRMZXNuxLkrj139hYRrUPrvb8DGiEMaPhPnBz7Fnf6ktuKwUs4a4XT2iqt+T mcgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538840; x=1726143640; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0uKqVutEytS68y9quKuA8oZ9AWLRXiVRK4dLthQdVgU=; b=SfGbP7jXFacrNf7OIqzocFZbduPApr+iHAO/7CQDNINVkizwBesrt8/i84p1eZDM8t FXkDHZ0YsQ3jKvfnsqmYRSa+iX3ZTnI11pOEY30XqDK7NY4JVlISAih/SqK8/v+2FVPm yIv3CYsm5x0KD75qbbinnAvJPog0XpCIXGhtRl0nTdjaDIMaY3w5Aur04w72yvKOhVzR 5FRAy2W9kr19fH8bNW2hl2aNxKbvmczcdrgithrnowDm6XMpogD45/Kt6n1cGkVOzpH4 B4SW7RnON7Y2e0JgV8pwhj/Lwu9fx3P+C4ACqmZ5TKzn1gA104qeFbKjB/0TxlPzSSAo er1Q== X-Forwarded-Encrypted: i=1; AJvYcCVkd+XBT2KOqdOUP/hqjmd6/B4v65aetzry1gdPMYdirLKUKkzOnp2A3W33sdkX32+nAHBtuqc=@vger.kernel.org X-Gm-Message-State: AOJu0YynCixu81wLEgVsB8CB8UkU2KWCYh6pCw36zly8ZskObTz9GgZ4 gwgfY4j+nFhoi2zpnoJ0ua2/cvGLRc0NbT2n9JVOq/jDi52C3hrv58A+Q+x56Jo= X-Google-Smtp-Source: AGHT+IEOKn0KgBnBzHvt06ZjvD7i33x85kBR8d6T3GFgqKBVw9jPqK4PR1m+hESZeyZg9As9t+NRpQ== X-Received: by 2002:a05:600c:a0b:b0:42a:a6b8:f09f with SMTP id 5b1f17b1804b1-42c9a38b296mr21564015e9.23.1725538839669; Thu, 05 Sep 2024 05:20:39 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:38 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Andrew Morton , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH 11/18] random32: Include instead of Date: Thu, 5 Sep 2024 14:17:19 +0200 Message-ID: <20240905122020.872466-12-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: netdev@vger.kernel.org --- lib/random32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/random32.c b/lib/random32.c index 32060b852668..31fc2ca68856 100644 --- a/lib/random32.c +++ b/lib/random32.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include #include From patchwork Thu Sep 5 12:17:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792241 X-Patchwork-Delegate: bpf@iogearbox.net Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 9FFBA1A01D4; Thu, 5 Sep 2024 12:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538846; cv=none; b=pEKYVfhzSD0gV2zxg5irHEFzhgrqKpqJxVWq0RhjzypkI3H+VUT7SqBT0AA4FE+bjGf2BVeBtVu78xJjAjEX+ki2NGTm+FfdLQl/p3s3CXXiBRUFtGg845B2RqJN5QCWeLK9Oxb+XU7l8UP6s89bxpDgSDvaMJGhmNmL7BY+lcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538846; c=relaxed/simple; bh=ntZah+TMe1UsnrBWws4HdTpKi38LYAnKX4lsun7p7ME=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FGnqm3FBUtwnBSL+gRF7Bm8tWZC076cnUc4eJYxUf3FGjwuMJqGjRQ90dBqHLYl3z4XYM64K7XmxffOYX0Z6kl1ZIp1R6IrDUUqn5Sgh2LKUK5ySCS/0bL+Q9DSK6ZAIH3hP6oQoF4OkCENpt0IukZCCgc6yt1qu7zRWj3Y1Ofk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hgVF7yOl; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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="hgVF7yOl" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-42bc19e94bdso5501755e9.3; Thu, 05 Sep 2024 05:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538842; x=1726143642; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L+hWQwbU8/zLn94r+/MW1PS9zt1M0q617URppC4Ogv4=; b=hgVF7yOlNczOuS9OHmVBgeXEJJYTU6ZihFeV5nGhwEV4RrYUABmFOa99t1QHsuqBUi BaYQKYsN/GdkhKeRc8kC+SLoEorfUcB0E58YHpGEx0IcbAFlXuwvU6/zPdwJFy3Gnfr7 UKPKOwStz+7IaHk1aJzkW5ZcROSrxfCtVv2+MD3f8Rjwic2explkiKS1yXRMiS1/pj5A 3VJv39ngYCFGqyv+IY2RO5Z1vP7FAxKTx3tstt78RqjUGLmlV0aBb44p9ISP/pE8ZKWG 7EnhrN6a05JFEmuiPkzIBXzmuoEC62Vi9Y7FAtknA9fuWZtZwd4RuO5+lpQlQPpN0Tkz rlqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538842; x=1726143642; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L+hWQwbU8/zLn94r+/MW1PS9zt1M0q617URppC4Ogv4=; b=F3eVtfCLhAlQ3f2LKiKLU8s7CHNlZa1e50dhCKqJg0IYSeoVLK0nGPX5GILr51RLKE pJPiUeHBGksntb5x9oP18OTqDgANYuVox8iAnNayXwaVGU4hB9e/bpsPxtiVXGh/29IQ vgaDbV6QsvyIUvCQjPyAW3ynL11eymsAPbpDb8WRSPTFRnFKg7AhKAW16nwjpwpN0qiB 6Ds+PkdUqjls5H73X1asO72jy3i6L3WMWVdxVILPLExQ7TB14HUbLStJJ+p/C3O6TWzf Doov0zgVaMP7geOgT0eUtnQNJc+ezWPrGgVOZg7+UUU8g7SgrpQpYlS64Oq9yqNIzYm/ TcFw== X-Forwarded-Encrypted: i=1; AJvYcCVfF+WYn5u+GOu83cy6u2zJ08wcsRktZO6oa8/mbAY80Fa6sk1CDGDOIIYGJXCyP2pgsHw=@vger.kernel.org X-Gm-Message-State: AOJu0YwE9XGRoN0kaNVVcaxJTJocfsruYGdXLfyaQ4QOuFowqZqG0W0V M+qQ5ZjvgeTlO0O9+cQBhneXbV2SwQw+hxrm0aTDq/d/WegONLwT4gbZ6VbwP8M= X-Google-Smtp-Source: AGHT+IHiG59lwYh2JBbk0IvapT98odJgbdBlY7Aa9LCCfED3V0MkOreKseQ/p2M1f9MUqWlfOGQZig== X-Received: by 2002:a05:600c:a4c:b0:428:17b6:bcf1 with SMTP id 5b1f17b1804b1-42c8de87c57mr57755945e9.22.1725538842283; Thu, 05 Sep 2024 05:20:42 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:41 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Andrew Morton , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , bpf@vger.kernel.org Subject: [PATCH 13/18] bpf/tests: Include instead of Date: Thu, 5 Sep 2024 14:17:21 +0200 Message-ID: <20240905122020.872466-14-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: John Fastabend Cc: KP Singh Cc: Stanislav Fomichev Cc: Hao Luo Cc: Jiri Olsa Cc: bpf@vger.kernel.org --- lib/test_bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_bpf.c b/lib/test_bpf.c index ca4b0eea81a2..eb4a1915e4d2 100644 --- a/lib/test_bpf.c +++ b/lib/test_bpf.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include From patchwork Thu Sep 5 12:17:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792252 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 98A901A0714; Thu, 5 Sep 2024 12:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538847; cv=none; b=iyTxSPZq8LFk45GEFNXDllckT4+HDS756wSqGs3ym3erxhocBGhDG4ht8xZfp3r7PoFZtnr1Gfy7/UZX8B1zk0qOY4CvL6vhOO0OJkULHX1YgOFH77H3PIpQCG1wLInII+soKliIoKqmvGr1E3d7ae0x3av1t8DL6oFXqNT1wR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538847; c=relaxed/simple; bh=84MM6JTVspuKKcVeckzhRC07JdTUl9SJEHiWg8mSABU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XFlLVp3lzLuBl1DLTEG0Dmxdn26Q79G71PuD6uph8L2bYevZNtj66WxlFqgipNnUu4zP+9dVznsn0GxKxUTxETow5x63vocNCucVzGumaL9n5rYLnVJiX9IrJN3R3Vw+bh+BmUGg4DAi0Suh1H3BF9raBgjr4Bhq4dqz8hXvfSM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QtotPNk0; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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="QtotPNk0" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42bb9d719d4so6316645e9.3; Thu, 05 Sep 2024 05:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538843; x=1726143643; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QOxczkFwiDGKPc4Q1Be0RBZme5IWUpiyWu4JPki7X3c=; b=QtotPNk0T4ZfEyvwAbu7iVbwvUZZDtXFI73QLCJs0ZBjhH6Z42k5joLCI/64iVL4Wz PRSzJzuIZJKatqlT3iK21VFr7LRX9wp/hEgXKhIShMUO8iHAOqhHb3kWkJBrLIX8a58d cCSnNdVqJPvgmuBfcK42Rzdxxd4rEW+Y7EWxCl/3CAh+F99EWTiLMGotQ+kTs2JBWJRN HsU0W2dsFTh25igAZNoVDzOF2u/f7EGrfx0JFCatD0v3WjGFO6TgKosB/lobvENUZ8Mu BAmukx30X5x6fvT43YiPQTM7D5yoQd5dTpbtElXukafpb7nztDTsVjIqURziaRPHVg7i p5gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538843; x=1726143643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QOxczkFwiDGKPc4Q1Be0RBZme5IWUpiyWu4JPki7X3c=; b=isF/00mnn0z08Jwbe39ItECOjHN9axHkywRYnJVvrKAbwur/R6WrHKAL0qtnbQyizN q8U1d6GDuezuuokav48Tk1hWzpQppf1P+IsJGTPdm96g3/T8Y8TFEGKKwbhHmQ4jsjjE e85G+E4bnQa1H7nACPq5tl6upY9TaSjJ/JbzTWFnC0aN8qiqdJRch0XBSAuDI8D9oV/i T/QRapOSZ3RUQcPhz60zyCzGwjpBF1G1Ysoof3XK2vTcu8ng9YS44+WyiHFFnOAXMycv ElL4DtcrrMqFquhRlSgE393oH3bzNcaNKWkhMuGosQvLEOX11VDTfkZcTdjacrh/Mdqe CuZQ== X-Forwarded-Encrypted: i=1; AJvYcCWiBiY6YxTaKjzVGTgHWuUvHl2w9MHIiQYJTw5RQs8E7Lphw5ixF8ofvlbWHOgZrYN5g3vwO80=@vger.kernel.org X-Gm-Message-State: AOJu0YyPftHXfvRQ88e+fecq5R4ofhpOE0ui9HtZtYRTbpkOIrJqr0fQ qQn5GcTumis5cKaPOvfJFkBTIjz+hoZj0O38mxgjBqNbkldNDL2vSg0HmLIeID8= X-Google-Smtp-Source: AGHT+IFIMOtWTE7nc52Zm83jQ/AiqL2iSABH0dSCn1yNfiRYu8xGM+H5TXzsTWsjAVAdNSNf1k5bLQ== X-Received: by 2002:a05:600c:1d9b:b0:426:8ee5:5d24 with SMTP id 5b1f17b1804b1-42c880f41f0mr82578955e9.20.1725538843022; Thu, 05 Sep 2024 05:20:43 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:42 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Andrew Morton , Jiri Pirko , netdev@vger.kernel.org Subject: [PATCH 14/18] lib/test_parman: Include instead of Date: Thu, 5 Sep 2024 14:17:22 +0200 Message-ID: <20240905122020.872466-15-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Usage of pseudo-random functions requires inclusion of header instead of . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Jiri Pirko Cc: netdev@vger.kernel.org --- lib/test_parman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_parman.c b/lib/test_parman.c index 35e32243693c..f9b97426a337 100644 --- a/lib/test_parman.c +++ b/lib/test_parman.c @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */ From patchwork Thu Sep 5 12:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13792253 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 5C2291A0AF5; Thu, 5 Sep 2024 12:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538849; cv=none; b=MKKsUMaP0WqrRvl4OEEbGpzaZgrNmY4ynuZ0da1SJiVl67gnkjQ919ODSmXqh/jIO8/5qT1M4UfI1p9errJ/lx2ilNiusTrahJzISH5TMIAuHr02UBrs1nf2gLuz3lHfhv6T8qWHxP6UjeHH18qsFr7YgC+8AbsADcVGpPzUnqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725538849; c=relaxed/simple; bh=e1Czxq6ov4XgtcPb1btJSuKnmUVjreL32+Dx255BoAs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I9K9OqJy8IRYsd5DN7/098Irhnlrxeg43hcw7fl2kM6yytdoMV9etV1UIy0SMzCGqmHXjzUTe0l9BmK62Qijb6KYwzP3ILji0bOagaX0vNibT8KeCA+k55UdkJh6SO+wPA8GxYzxpD1A0qkur0+ZpaT8IfBzpY3BuP7nuJvOlQQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hFCAPGHq; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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="hFCAPGHq" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-374c7d14191so997919f8f.0; Thu, 05 Sep 2024 05:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725538846; x=1726143646; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fQVjaXvMLQ/kqPRfYyI9JmOS+KxArnedzPC9bPV4amc=; b=hFCAPGHqcN5T6fgicoXKQU77+BFUD7bjLOZwu3jxM6yLzK+7Ywjv/u2BupbPRspJS1 xM+B48iPkcD+B88AamLqCm+czyW00mXZn4f2dvs3t2KQRuhk0TRcVqKed18rMn9VX2LA VRbdJE/klu/hqS8b8jWrszR9tGoIviJv3rz1dun9mOWz1y8pX4gTifU1VEZ+BA4+r1LJ YdMBcAWBgwwbzBmvu8kUiYTFI4XCMMRg8E2r8UUjTARpf6fua2XPebbsdKvDAU6axKNP 3WfB4W92AnE5Q3NMrEE5zb3ke1JlmJUUBycseOor1jE7W/NN4kJkw6GBvZr9g59iKr3o mxIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725538846; x=1726143646; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fQVjaXvMLQ/kqPRfYyI9JmOS+KxArnedzPC9bPV4amc=; b=MQ304+awlBNavaXPgqN1iTFfTEvsDOpTBprRQIsm/pSU146qIm1kjsxYdmmYBJUIm6 nlgCtiVEozIK7IlBC9as3His0SHblaDsKoOyj7OL81KGwllrmv24aVD1SHvSzJNx9Evf 9mJEEgBeReVzUBTsbIVXNVq7Q7QaV1pBiLPx7JwkopfkJhpJ09bse9vIPyLYQU9VZvng tUO7eHOJ8PMqxILMejXCXtExIzR7/llhccFOQOABozDTYa01dqY3NeF393d9h67PWsAf ItEeO81sZlDcAECXWH5kIqitZDzlY95FN+Tj/1Kh49kPN4Hkk1962tkEPHF8XzSGyfFq 38+A== X-Forwarded-Encrypted: i=1; AJvYcCUhGl/c/S6ZXh6IDlrtFHch0LMY6jiXTnsRSqlBsikGTk2F9Y/4lsv83GdSnsWzukVAu84UA7c=@vger.kernel.org X-Gm-Message-State: AOJu0YzbupBxc8BNK5F5o4afHpEoRCi0OQuj7JZz9qjN1jQHUGwQk1vN nxjt9PYN4+Mm5GRQ1LsllZMxulrCUUBapIxJJZtdS9P/a7/6E8bixKgyIYgGeWA= X-Google-Smtp-Source: AGHT+IEojilhnQcmMuA2eFcSfPaI+YUv2hNUrJXyT4LbaKP+Vg0CsIEDzLxsPO2M6sLYmhXQ+2Ew/A== X-Received: by 2002:a5d:64c2:0:b0:36b:5d86:d885 with SMTP id ffacd0b85a97d-3779bd18639mr4880342f8f.24.1725538846228; Thu, 05 Sep 2024 05:20:46 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e27364sm230390515e9.34.2024.09.05.05.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 05:20:45 -0700 (PDT) From: Uros Bizjak To: linux-kernel@vger.kernel.org Cc: Uros Bizjak , Stephen Hemminger , Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH 16/18] netem: Include in sch_netem.c Date: Thu, 5 Sep 2024 14:17:24 +0200 Message-ID: <20240905122020.872466-17-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905122020.872466-1-ubizjak@gmail.com> References: <20240905122020.872466-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Usage of pseudo-random functions requires inclusion of header. Signed-off-by: Uros Bizjak Cc: Stephen Hemminger Cc: Jamal Hadi Salim Cc: Cong Wang Cc: Jiri Pirko Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: netdev@vger.kernel.org --- net/sched/sch_netem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index 0f8d581438c3..2d919f590772 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include