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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BD0E2C27C53 for ; Fri, 7 Jun 2024 19:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Qso3VsuWyexP7dJLjRAH5QJuJ2ezXatNSs68dnG3nmk=; b=VrHRNs5toJ9OkJ KJgC5gk/ICUa5yFgA/mLpBszOo6+Ve/AWRb0gC1QjlIVPjSSxdjy57BGOVN2iRkHFGxZUHRaD4fn7 jKWOtQC90U2TjLnC7li4F9UHW1TrgjAKfiP2dqJhYfjcASL6AnkAl7qGqOY286/d1NZ+Zne5kxA3b 9j9lDtIA10LfyJKYIAggDaKDNGW8FxCGG79dCA75GZjjjz9ks5HU8ikIh4yhXE/nOU6ij1qbU8OQE YqNqnk6c5H0r3XDuGO0B0ocl6/V4t0UpQ4UOIIximNRAcjhvKGf61qS2wLtgp4s7+42uRAFmjCAD3 mVdKItXOi+hzpDe5PC1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFf5u-0000000FNgI-3yXH; Fri, 07 Jun 2024 19:17:46 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFf5r-0000000FNfr-0jcG for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2024 19:17:44 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-70249faa853so2056679b3a.3 for ; Fri, 07 Jun 2024 12:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717787862; x=1718392662; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NMwKu+pMCkNLk3fA7XHYBTAbLNx7GuEVog7Bj2JBALk=; b=j32E34548Hlmx1I8PjsvntKbKINDE73iia0L5sWp0XVFCVCSFH88YZ2CJiR+rkBR+c Qs9dDgoBjcqc6DZsl9qGR3OCgjwv6UmyGAj5+oAx+YtStVW0+QzmT+0iJRsJlSfoxpNd liO7P5OxKgkPhDKi8iWT8LZIDuPy1xrbMbc1iVxxfzTEuRxrBoFx0hNweWdTkWaZnVOA dA2tT9dTNGI56X+1693EoaWL+ZKKA9raAmrwV8nRXdR5B3WYANv/+yEaZLHAw6Dnxxcz 0AH43g+oWdQt3NXjENYTjMK2EpdILqNliRGGffpnLdNPJ+33LI6eVLqc5cfOcOLtG91K zg9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717787862; x=1718392662; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NMwKu+pMCkNLk3fA7XHYBTAbLNx7GuEVog7Bj2JBALk=; b=kM9g5YwV8P2bUj2Hu0n35iNTyMN4KX56UzZP7rWwzSE6p/9LLHfKlNYOcCNUdCf3h1 yYdOR43E30JGFbass9c72x85Q8bt5pQ9ceaIDmxedd2OU8u+RDbl35JmYgGK81a5RfqV WiwikRElBnC3yxCztPAnFwYKJ5uBrPc+5QxJpQdH5iK5nsZhZ3hgqfwyJogKaf/uG4lP 5dDN+X1/42LyD/WH+0MRGKEFaASt9A0HYQiKFVNLbFRKFJSCgf69Im2nZm5wdkWJd8Hg S3nFSSexoPFl2NFnAtoKUoua/2hgfAYc8THGvmcDNwtoLYqCYJ8jNVBGkyAfvbH43Dtm OWgw== X-Forwarded-Encrypted: i=1; AJvYcCUh7ZDE0YdkEs+VyG2ruUAheZnRAYsbYHaLfGc4z9yyj01as5XdiD97gDNBmYfcXQG2cjwII/H4vUgf7Zo0RVKnH3MHZBEjalcC9yMbfEfrmxVopqo= X-Gm-Message-State: AOJu0YwcVdMcETqq4N7iRUibVhI4ObggB9U7Lb6aG9W0Wa1I6gnRGdvw K9ihmVOcM+VU8I1IJMnaYpSECMt28Y7VMDR+C9yufqpfU9y5n7Qu X-Google-Smtp-Source: AGHT+IHYSV0KCIG3qxQOTEBKKcc1mjWK4+6fwEeVHg+i4ItkqLKlvKzlGZXukzqLa21WlkEglyJVUg== X-Received: by 2002:a05:6a20:918f:b0:1af:cf63:3742 with SMTP id adf61e73a8af0-1b2f9cb14e6mr3810470637.42.1717787861751; Fri, 07 Jun 2024 12:17:41 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:b8e9:3447:a54a:310b]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6de200848bfsm2600379a12.1.2024.06.07.12.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 12:17:41 -0700 (PDT) Date: Fri, 7 Jun 2024 12:17:37 -0700 From: Dmitry Torokhov To: Erick Archer Cc: Russell King , "James E.J. Bottomley" , Helge Deller , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Stephen Chandler Paul , Michal Simek , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , "Russell King (Oracle)" , Suzuki K Poulose , Krzysztof Kozlowski , Rob Herring , Ruan Jinjie , "Ricardo B. Marliere" , Greg Kroah-Hartman , "Jiri Slaby (SUSE)" , Mark Brown , Yang Li , Kees Cook , "Gustavo A. R. Silva" , Justin Stitt , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-hardening@vger.kernel.org Subject: Re: [PATCH] Input: serio - use sizeof(*pointer) instead of sizeof(type) Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240607_121743_236570_88D9BFDF X-CRM114-Status: GOOD ( 13.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 07, 2024 at 07:04:23PM +0200, Erick Archer wrote: > It is preferred to use sizeof(*pointer) instead of sizeof(type) > due to the type of the variable can change and one needs not > change the former (unlike the latter). This patch has no effect > on runtime behavior. > > Signed-off-by: Erick Archer Applied, thank you. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel