From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (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 6C23613B7A3 for ; Wed, 16 Apr 2025 15:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744817128; cv=none; b=U3Y/7xXJeyu+unISYKwndevpc6TdbySyorzjI4COfnRxmks7mr08bR8cbOf2KzBncefsFgPCt+H3oJ4TYME7fsZRaais7vx2UiEASFd0r5XIMMPw9RE4dJrFMKugDgJFBxN+0FZYObFue6MKO9W+scDhPaiS5fd4Q4LwNFU6cxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744817128; c=relaxed/simple; bh=t3KWLvp71uDPZ1KX3NJETFxAT9M1lopmzOl4eKzyLg0=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=PQerpBEN0l2S+0OtTe1q/scsTk+Pmfhe0/M07KQnMRBaj45CPxTR7g/vQu51hxUxAsS7421h4cTq5gu/cEOpUkOC0R4/lv7bz0ni0M8McMUmn10DwEd7Qt+n+NWxfCEBI5LlpEi4NZh5Nz3YRP85DUAxrxeszdgVACbU72rDcDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=GYef4Q95; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GYef4Q95" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1744817114; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KSHBYjNBy77pH+d+njSJhBrbalqBTYpC8jqWG0u26xA=; b=GYef4Q95bwrLRDfhyzZuZzHRzvckzwN5NIefpluKN2P+mamHWWLDrIQ/C+SW15BljO/yZz +PmZSRhcvOVLZot+yGtoG6krsTOuk5KYehJZnhEIRTxRueCFaqUuJ9P8+0xe/LIy681jyC L8kWIe44BHkuH7gsagYFINSHCqTjqcs= Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.2\)) Subject: Re: [PATCH] MIPS: Remove unnecessary zero-length struct member X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum In-Reply-To: Date: Wed, 16 Apr 2025 17:25:00 +0200 Cc: Oleg Nesterov , Thomas Bogendoerfer , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20250411090032.7844-1-thorsten.blum@linux.dev> To: "Maciej W. Rozycki" X-Migadu-Flow: FLOW_OUT On 16. Apr 2025, at 04:33, Maciej W. Rozycki wrote: > On Fri, 11 Apr 2025, Thorsten Blum wrote: > >> Remove the zero-length struct member '__last' and use sizeof() to >> calculate the value for MAX_REG_OFFSET. >> >> No functional changes intended. > > Have you verified that there's no change except for timestamp data in > (non-debug) `vmlinux' produced with and w/o the patch applied? Just did - and yes, the binaries are identical. Thanks, Thorsten