From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED88BC77B7F for ; Tue, 9 May 2023 00:44:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjEIAof (ORCPT ); Mon, 8 May 2023 20:44:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232723AbjEIAo0 (ORCPT ); Mon, 8 May 2023 20:44:26 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A93B059E8 for ; Mon, 8 May 2023 17:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683593017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=lvDLPcBlCwIfbBJMyFmFvxVaaI/YntV+7kg+R2sL8P0=; b=Rnu/o1Y6XGw15fDKzWtOrZ2l6SZiov8TVm6SL4rCEcDNvnVPDV3sBku/S9mqlTjDbjtdbJ vxoAcNlcv1SAKO30w2HqSUX2pUtdWT+0O7MkGTSstoi0h/lSKRPoo7D/VsLsS6YTYWaKsX t+fkcy0wHMC/HvyU/fHQUWjIOS0FHsg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-648-wQFrrsCKPFGsAegolKiTFw-1; Mon, 08 May 2023 20:43:36 -0400 X-MC-Unique: wQFrrsCKPFGsAegolKiTFw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BD331100F651; Tue, 9 May 2023 00:43:35 +0000 (UTC) Received: from greed.delorie.com (unknown [10.22.8.103]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A8C8414171BC; Tue, 9 May 2023 00:43:35 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.15.2/8.15.2) with ESMTP id 3490hZRE1689207; Mon, 8 May 2023 20:43:35 -0400 From: DJ Delorie To: Alejandro Colomar Cc: linux-man@vger.kernel.org Subject: Re: aligned_alloc: update to match C17 In-Reply-To: Date: Mon, 08 May 2023 20:43:35 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Alejandro Colomar writes: > Thanks for the patch! IIRC this is something that someone reported in > the list a few months ago, right? Years ago, actually. > Would you mind mentioning the reporter > and CC anyone involved in the discussion? If it's difficult for you to > find those, tell me and I'll do it. I got them: Link: Link: Cc: John Scott Signed-off-by: DJ Delorie diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index 9bc6eb9a4..88e4a8b63 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -91,9 +91,8 @@ The function is the same as .BR memalign (), except for the added restriction that -.I size -should be a multiple of -.IR alignment . +.I alignment +must be a power of two. .PP The obsolete function .BR valloc ()