From patchwork Sun Mar 10 02:04:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 13587981 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 2BEC9BE7E for ; Sun, 10 Mar 2024 02:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710036341; cv=none; b=WVS/WSysf81nqVr2MNazykDA6qyrWVHnF8vC6jMrirVVV/KmZn68DOR0Bv4Fl8MSmCamDGhS84UNLZvj4MNPI6fqOKgTbaOMOxpW78OSz2pdWrxJGSeBUBL6Ij0acXkjx0I82Vx5lnS7F4mPE3SvKGHSdF5f1vHqytrRAaTHfjc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710036341; c=relaxed/simple; bh=RGHR+QiLceocR0H7Go2J+IFsQikYIqGpUdA5u3bRq6I=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=hw0iFszpJYr9L7M4PpBI9d0ANyBkcKQmr0R/KwsrH86t6Jfe0IeDqv3hAEM5mcX0jpA/jgwYsg5QP4qYPR7DIxIcW5O71RYehXm+am/aNqEZYXMwJfjCnVWGNxtQltSBjEvzoQmNfJACQaP0ra6Nxne2gnjg9jZ9GOQ+aCDtxeQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=VRsNZPe0; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="VRsNZPe0" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-609f2920b53so48009407b3.0 for ; Sat, 09 Mar 2024 18:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710036339; x=1710641139; darn=vger.kernel.org; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=lEogdjVExxayJMRv1u0mjZw+1C1F2zoHt9ebGCOCyUE=; b=VRsNZPe08ukQkLbC8cLeYP0BRexi0H/ytB079Ek1//YKN6get16huQfO+BpiG1tXOD /DfXJJsAhbpa41MJSgaY2NShFvyfGKd41kr50rONuG+9vGjXxf92ch8Hl6eGAPWS0hw7 V3PejFFmfmrU5vPpGLAigL7iSv4mZImqptxoFxJQ4OjxVvG0ERXdGOpP+Lgn2PtK9AWA 0g0yb0s9m2oHNGuLPm57TNOEk03to2Zrwt1BJs6TA32/yB8FdcS9VHIy8Wq9TRzx0jSD Bgqc+g/01i/CxnEOjKXp+j/RC3Las1cviN75DkghO3v1bmFnfAoqbBTNS/IAQpDlv+tN PkEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710036339; x=1710641139; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lEogdjVExxayJMRv1u0mjZw+1C1F2zoHt9ebGCOCyUE=; b=UUNeitPzmJ9ZXtyA+bbWYfWCzCOOnyfDQrLydsukQvIONP7EJwY0dqJEm9GqhggI2N RqlDmkRkDNKUDKY+SFxqCeXekcz3byvSg+gSBVTvsJxQ0aAMnu9Tok1d8MWqjmVr+nwK rEZvndOMltaUiZ89RRV5DFhumME+TTIZOSHnii9C7bxqRpWs8Pu8CWU6fV83Rs/S2kDJ 6Tkv5Licz6PQiJik5v6grFsuJdy7rZoJZOZOkJG8i19fKi/NtyXFiO+1mTmkaUZtB7AV /N3NYQfwcqxdRo3/B7hyBcViqKnQ7JqzoHPatt4b+3bvq1a5OIoCdewiMaPEmspw633S huew== X-Forwarded-Encrypted: i=1; AJvYcCUufxCH8WFUqurlhDfERRxwN7kgsBSNVKBfHUav1z/3YQ+k/7Sb0vdM6diYSe46fQnH3vdwnaKj3S4YWs01P1OcKOa+ X-Gm-Message-State: AOJu0Yxsw6eFKgmVB7uuy5HvdCQ/9iaFzVRYwJr1uzFqCearUviS1ZBX aBe2TzRD7zlKht04OF6gRLSV/AgUUsSnIwAvwZKlTSNUjpWny+Tvt63CNNNkFUqLurGCksFK71D h2hV1OQ== X-Google-Smtp-Source: AGHT+IEyM3cHgr9ZVgnZoKCZ0SYCN/4S3200GAqNBDyFBPz9iTsTIsAdJdgR5M7Dk98A1ko/gir8jVGY1z12 X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:a63d:1b65:e810:3ad3]) (user=irogers job=sendgmr) by 2002:a0d:e84c:0:b0:609:d325:5826 with SMTP id r73-20020a0de84c000000b00609d3255826mr678752ywe.7.1710036339213; Sat, 09 Mar 2024 18:05:39 -0800 (PST) Date: Sat, 9 Mar 2024 18:04:58 -0800 In-Reply-To: <20240310020509.647319-1-irogers@google.com> Message-Id: <20240310020509.647319-4-irogers@google.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240310020509.647319-1-irogers@google.com> X-Mailer: git-send-email 2.44.0.278.ge034bb2e1d-goog Subject: [PATCH v1 03/13] libperf xyarray: Use correct stddef.h include From: Ian Rogers To: Arnd Bergmann , Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Ian Rogers , Adrian Hunter , Paolo Bonzini , Shuah Khan , Kees Cook , "Gustavo A. R. Silva" , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andrew Morton , Liam Howlett , Miguel Ojeda , Will Deacon , Mark Brown , David Laight , "Michael S. Tsirkin" , Shunsuke Mie , Yafang Shao , Kui-Feng Lee , James Clark , Nick Forrington , Leo Yan , German Gomez , Rob Herring , John Garry , Sean Christopherson , Anup Patel , Fuad Tabba , Andrew Jones , Chao Peng , Haibo Xu , Peter Xu , Vishal Annapurve , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev sys/types.h may not define both NULL and size_t used in this file. Change the dependency to the correct stddef.h one. Signed-off-by: Ian Rogers --- tools/lib/perf/include/internal/xyarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/perf/include/internal/xyarray.h b/tools/lib/perf/include/internal/xyarray.h index f10af3da7b21..947804fb8c85 100644 --- a/tools/lib/perf/include/internal/xyarray.h +++ b/tools/lib/perf/include/internal/xyarray.h @@ -3,7 +3,7 @@ #define __LIBPERF_INTERNAL_XYARRAY_H #include -#include +#include struct xyarray { size_t row_size;