Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp378182rdb; Tue, 23 Jan 2024 02:30:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHn/yTfGPLC0/givPvRWbLB8t0loSBlwt3Lvb81TDjKKAL6Mt55sJdT0jT4v3ejfsfKfx2J X-Received: by 2002:a05:620a:959:b0:783:8c8a:f969 with SMTP id w25-20020a05620a095900b007838c8af969mr5560320qkw.105.1706005805234; Tue, 23 Jan 2024 02:30:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706005805; cv=pass; d=google.com; s=arc-20160816; b=DSDLLnTNXmVUpU8pX++bERG+plmiwp5F7yd7Cu5qn0DeTZOMFw25NUKvdHChC26YOV bAoBDxe805e2FqC2T33WEAMiqJCU0z+rMUxv3CMBpHYgMEdrsb6bllJ2faWBAngSUhyj liDXCKaqINwiHKvSWi6g00h8lhukrvPGsbNX7GB9rKzjlI8Fc5Vf9JAzbmBnLgNLHl0d us95DytHCgPV1ZwrrmvER+wZjGcJz0axUVDfgJQfSqRDuMHEowmnUxkU3EoJEhmClE4A 1d5IrqLVSfnYXEaEy9egf0awgd+tfn6DbAV+E2aKKwneeO+sdtLiXljiNwcxo+Rd7VZk F0QQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GwVAOmtN1TAEIFZsviJJBltiVZ2q8MyGDZiFQPV6q6w=; fh=xZHRIcDYLZathSyoJdOkr62JKCdxnLpV2KXeoi38Exk=; b=ZsGQpAUT7ZWmrdpCN7tNkOlk8ssAeYRGMRBS6pO9+tohcdyrpVeMoMSL8f3PAinZav 4mSQGgH2kBJTl9upPYNWO1NnZ0t/g3FcK3rU2F5u9tuUyFSUHgkog61VJeJPAJddUqBc Xh0otdvbgjKGDsB3vME3FzPX3SNe9VvBOb/k80brlq8L1M6aKqZNTVLMZw1HRlCZfFnl i8FZmFI+ngcVp7STlaVL1OpJkwEMqT88iUX4GlUCv7BwizZpl79v6nc3zqi1JOLPFgQI V6U7hEP/hn8JRCn9vKjRKlzsK58ypBJVJ/AX8LqLK/XYn8tXPWOWhvTiwill0by2RKzw gMCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kbqRRmAQ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-34970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s11-20020ae9f70b000000b0078345f5c20dsi7163722qkg.562.2024.01.23.02.30.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 02:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kbqRRmAQ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-34970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 942C21C229B8 for ; Tue, 23 Jan 2024 09:14:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 033A258125; Tue, 23 Jan 2024 09:14:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kbqRRmAQ" Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) (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 9CC247E9; Tue, 23 Jan 2024 09:14:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.134.136.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706001260; cv=none; b=qu6jLtxIsQxK5DwklQ2cpoCuEvzPdqICKuwkMy/TWLaJxcucbaujQGz6h/DAtl0tsEZYqQ++qHL+MVPjzGZwc4yi0INJzsYrEYwLp1EiZQQk30NCflC6km0DCUU+KGWiAgup7mRdxgFbMu2C5vFoYcoUS5JBrJbsycizhV766Gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706001260; c=relaxed/simple; bh=RYg6idq8Qd6RJSL13IwhEBRCgLYFPiV2UAWGRhd9z4U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VTY/JLDAwSeb+Cyn0ZGPxh1NphXtY+1Brmp7tg+HuVgmc29eqYb0uJny/kuuBpV4M0z0njoB7loYwO9CjDCFiCajkF/uF9LCNhJ375f0yr0QBkdCQJV4+IEMKZMd2QlGorMTz7Ha4QPQRIQ2UKbi8290jCbm28Dg3y4HCYUeAqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=kbqRRmAQ; arc=none smtp.client-ip=134.134.136.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706001258; x=1737537258; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RYg6idq8Qd6RJSL13IwhEBRCgLYFPiV2UAWGRhd9z4U=; b=kbqRRmAQ0BSN1Ua0lgXjALc/+UFB53o8YlU0wFaO3dQCScvOPdQ8vtoT MOdn7HQncvl2oKwSvtTSgwQwDc/XhRVcdDG2569+CktEr/PCJXMVGxkit vH/qlmLbU2ErsFoBfsPSlL+eUk/AHBWf2m8JQWwEBUG6T7ltBx8OJNGdt 9nbXM8lIyBiX7ag746w7oRRhj8zlEVXZpYyi+UG9mAgI7PZIOyOyMuES0 023gHa+v600ZMM/x5RSWTr/1EBu/yGrocLfexd2gJ903XD1vOtljvZ0bD 0/jrk/HRmMFCtpUIO7hjKhBhkDmNi6gFr9dYc4yEKYquqFI3kdH90jeql g==; X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="405220829" X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="405220829" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 01:14:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="905167122" X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="905167122" Received: from sgruszka-mobl.ger.corp.intel.com (HELO localhost) ([10.252.41.26]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 01:14:15 -0800 Date: Tue, 23 Jan 2024 10:14:13 +0100 From: Stanislaw Gruszka To: "Rafael J. Wysocki" Cc: Linux PM , LKML , Ulf Hansson , Greg Kroah-Hartman Subject: Re: [PATCH v1] PM: sleep: Use bool for all 1-bit fields in struct dev_pm_info Message-ID: References: <12380944.O9o76ZdvQC@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12380944.O9o76ZdvQC@kreacher> On Mon, Jan 22, 2024 at 05:11:26PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > For some 1-bit fields in struct dev_pm_info the data type is bool, while > for some other 1-bit fields in there it is unsigned int, and these > differences are somewhat arbitrary. > > For consistency, change the data type of the latter to bool, so that all > of the 1-bit fields in struct dev_pm_info fields are bool. > > This also reduces the size of struct device on my x86 systems by 8 B, > from 1120 B to 1112 B. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Stanislaw Gruszka