Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E49C2CAB for ; Thu, 30 Jan 2025 10:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738233251; cv=none; b=oyjO3ZCfmkVofHTScTRdPxa/CzDxUM1KgfpLEBaE7kxOkPsFkQXyI73+qJ82DyrA5So6r0OZvuRySIGrfUUj6TH+P6o3wGM3phtwFLCi/XCXgPMhWrwrVRB6o3k7nPcztnrPuKi0tX/y1ljoxjjPazKHCkKxxOK4r3G2UANacnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738233251; c=relaxed/simple; bh=lS1bEFcOQl3Z3qsCefy2wu140cxq5T+XxiPuugJCoCo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oiEtd+gHXKTh5ATTjTaEcNZJ45MwdEv/nJ6ve2eUyxWHCXQgMB+IX8hZV/IRQrXvFBiblzWOJlyp5IfZ7RW76AL7LtGA7CEzdEe294doB8tHTaxU1SWofirr0VAAbxwDzTbWqChyCu0zkJMnS5Ogtz4jBu6d4yPkd1AXS7SqR8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IdAvCTb0; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IdAvCTb0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738233249; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKqQ05QYoJSNu9wELFiytzHLcerxmQ7zrdUjCASu/9o=; b=IdAvCTb05TgfHQf9mKPEh8jIAb/Qz+zsbeA8qjAbJcK+VXKHmWhmz7EUe4FMdz6NpoH5F+ FoNf2AGEFhzGr8rqzM0vsN2wUEy1BFTcCWo0tOidpDGMUlTyvlt1yJCXny6Ayg5YaxnDGJ ifMVzYCh4I+CMtFKzKVOnLpGVPL56tE= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-627-hIc23d79NsOFirCQdD4RJA-1; Thu, 30 Jan 2025 05:34:05 -0500 X-MC-Unique: hIc23d79NsOFirCQdD4RJA-1 X-Mimecast-MFC-AGG-ID: hIc23d79NsOFirCQdD4RJA Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6438B19560BA; Thu, 30 Jan 2025 10:34:04 +0000 (UTC) Received: from pasta.fast.eng.rdu2.dc.redhat.com (unknown [10.45.224.234]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7F23D1956060; Thu, 30 Jan 2025 10:34:02 +0000 (UTC) From: Andreas Gruenbacher To: Kent Overstreet Cc: Andreas Gruenbacher , Shuah Khan , linux-bcachefs@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 11/21] bcachefs: improve the eytzinger0_find_le tests Date: Thu, 30 Jan 2025 11:33:58 +0100 Message-ID: <20250130103400.1899121-1-agruenba@redhat.com> In-Reply-To: References: <20250128163859.1883260-1-agruenba@redhat.com> <20250128163859.1883260-12-agruenba@redhat.com> Precedence: bulk X-Mailing-List: linux-bcachefs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 On Thu, Jan 30, 2025 at 12:36=E2=80=AFAM Kent Overstreet wrote:=0D > I've fetched it to my repo and added it to the CI:=0D >=0D > https://evilpiepirate.org/~testdashboard/ci?user=3Dkmo&branch=3Deytzinger= =0D =0D Ah, the following went wrong in "bcachefs: convert eytzinger0_find to be 1-= based":=0D =0D diff --git a/fs/bcachefs/eytzinger.h b/fs/bcachefs/eytzinger.h=0D index d3e8b9edf335..3afb346b0738 100644=0D --- a/fs/bcachefs/eytzinger.h=0D +++ b/fs/bcachefs/eytzinger.h=0D @@ -308,7 +308,7 @@ static inline int eytzinger0_find_ge(void *base, size_t= nr, size_t size,=0D #define eytzinger0_find(base, nr, size, _cmp, search) \=0D ({ \=0D size_t _size =3D (size); \=0D - void *_base1 =3D (base) - _size; \=0D + void *_base1 =3D (void *)(base) - _size; \=0D const void *_search =3D (search); \=0D size_t _nr =3D (nr); \=0D size_t _i =3D 1; \=0D =0D The eytzinger0_find() macro is still a bit of a mess.=0D =0D I've updated https://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux.g= it/log/?h=3Dbcachefs.=0D =0D Thanks,=0D Andreas=0D