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 shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ABA9DC02182 for ; Thu, 23 Jan 2025 17:00:45 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.97.1) (envelope-from ) id 1tb0ZF-0000000071H-3Zz1; Thu, 23 Jan 2025 12:00:33 -0500 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1tb0ZE-0000000070b-1r3y for kernelnewbies@kernelnewbies.org; Thu, 23 Jan 2025 12:00:32 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 97C8613802B0; Thu, 23 Jan 2025 12:00:12 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 23 Jan 2025 12:00:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1737651612; x=1737738012; bh=PHpsrCdNDX NRzJfQoW6lvlRmQbfMhU0lTc+fZBGMsO0=; b=ngVyjl3awqeBXQpFDpQWfXHifa aoa+eHROGqkISJkFNHriyXBsFjhbqVjhBO2zxUKZtldJrOtkMdEabfhwUrearCDI EppQcgHhusojQW90OTEfB6n5+LWwmxnbFnIbUtDe1FYd+Tmcjta9TAQGh+vyC/Ha eETn7SvmjPucIactDjIMobVKnXUgYdeWkaY+LO55d9tmsLkgi0ggeqXzEYwMG3Zy V8BCvvkrSYB6yK597mAI6QlJXho5zc+1wBgl7a484uWDKDrj071BD2PxXenfBv4a 3W/A0+ro1WYerVTThVUwRDgZPwf8v2A4y7yjSxeZJGkU4kJATj3NJnT+IZug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1737651612; x=1737738012; bh=PHpsrCdNDXNRzJfQoW6lvlRmQbfMhU0lTc+ fZBGMsO0=; b=qvs3PGGYqN442/EKl7Cr72v5aam/xI99Dv2iFT9acYJUv+/KIE6 Ug6SfwLlZq1oP+7JKXx1C43fOU8ww55QnFCwxbzjbvK9oQJyzJunekWkUQwzi0hX Q8otB2N2+g4aUEqZZ8jdBHnFkO6u2BEAhhFs5nmIaH9ypamSy8a23Y2eZF5OZ/tI lZaFesVlhyuO79RseOCZicgh/0rLTf60tHUshRBKHCJRBupEsSkU0VSBRUrImhA2 DwG/WhbT4yPfkwwqsRqpV8xYJSUczYZGZYGdQrsPXmHdt4D4lET/JfPOEefGXe77 v3JdHiE4I9Z/HpWQ3NymkdG44HNFP0quEHQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejgedgvddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddv necuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtf frrghtthgvrhhnpeehgedvvedvleejuefgtdduudfhkeeltdeihfevjeekjeeuhfdtueef hffgheekteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehgrhgvgheskhhrohgrhhdrtghomhdpnhgspghrtghpthhtohepgedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtohepshhnuggrnhgrihhlohhvsehgmhgrihhlrdgtohhmpd hrtghpthhtohepkhgvrhhnvghlnhgvfigsihgvsheskhgvrhhnvghlnhgvfigsihgvshdr ohhrgh X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Jan 2025 12:00:11 -0500 (EST) Date: Thu, 23 Jan 2025 18:00:09 +0100 From: Greg KH To: Sotir Danailov Subject: Re: Typecasting a void pointer to unsigned long in zsmalloc.c Message-ID: <2025012347-shorthand-october-ada2@gregkh> References: <2025012321-fool-blatantly-069a@gregkh> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Jan 23, 2025 at 05:27:03PM +0100, Sotir Danailov wrote: > > This is a requirement that Linux makes for the compiler to work with > > it for any platform that Linux runs on. > > Ah I see, thank you! Is this documented somewhere? I was searching > for information on this, but nothing came up in the kernel docs. It's just a "known thing" for Linux platforms. It's documented somewhere I think but I can't remember where, sorry. greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies