Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp507667lqp; Tue, 11 Jun 2024 10:32:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjX95h5b4QYzGj9JKkHjP5OxiL/0cq12neDsd9bR7tqxhTk6nrIiIOO+trvrT5SWMhOVqD9i/JxtOMMO8seAicXCyYk2xaCb1ivnirQA== X-Google-Smtp-Source: AGHT+IERb+eL69bB6u5UjEpF19LoVQveL3zeYE6JxcF23jtFjjMuoBZaHgF3Y19jVYY+fBxKF4DY X-Received: by 2002:a17:902:d2d2:b0:1f7:2ba:4c15 with SMTP id d9443c01a7336-1f702ba4de5mr95135185ad.2.1718127145148; Tue, 11 Jun 2024 10:32:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718127145; cv=pass; d=google.com; s=arc-20160816; b=XDHGxvMKGzSkcuadZOr/lWIn8X8fusfQhm5gaYuYy0ZnD26fwh6W2svZsP9PPtubED Zrt/6l72x2irMmrToF7IwFHFEWrSSsPh122fVz0oQk1o5rD4a0ebP1PZj3DkX65Jh1hI HLOVuRXMxwfC8I0ijfiHZEnoVZ4O/RpNNkRvv2oDUYLCUAfCkbA7Of/ZKVZQcgG3kiy1 +1gbPMoVGYuwV/B1wnNcQfuVpAYGigrBvuUxCIVqvoII149LH5VpI22oYAA96gD1173G CkTmahSnjesyUtJ1S86bvVeD34iOQnk/QNgGvB6lORsducS1XxWHowS96gQ3XLvLQ23a T+jQ== 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=O4gOBUJvmTfawnxlPqLh0lGFdlrkZrWleiRA5I3LA7I=; fh=tIf5g4luu4jsOAMQlz/JTPvkoC3LeiBnxyBV7cNyhBI=; b=t3SxHOwCsviqwiwv2rpFiIyWvT38hdwNv8e46n12vTiwa7XXzUBShzfOcWQS/legKA n+1+V0ogB4VaHyqsYrPPVWk7IKyg7ACBbZafM1sgiTSKVF43FDA/S7jKP5WVGycZtF2a b17TQXNOy1h7vw7WgGTGVVGp/8Q61zdNcdpmnzyGmnjhleItQjM8i85jivCBlr4Gj0Yf gQ+cJ/M6SwE0n98mQBCcKFTKj8wYbJBIc4nL3w1K472KLDdb1eZ5DkMBsj5Qawxr23MD yaetosqwUVLK0fWJxE4aRt+ucNSQrR8Fjux8sO8Fy20y3HAWKDv6Z3W7I6cLxYpfe6oo iCzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gFUo5a5V; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209993-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f71bd85fb1si30168005ad.288.2024.06.11.10.32.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:32:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gFUo5a5V; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209993-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 927182823AC for ; Tue, 11 Jun 2024 13:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8F5D17CA03; Tue, 11 Jun 2024 13:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gFUo5a5V" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 1F2B717BB35; Tue, 11 Jun 2024 13:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718113460; cv=none; b=jlpXlcMrlTQehkBw6c8Bod+XItxDw+JoZM+NPWC0AH8dje9V1KqG8pnJyd8ZPH3f3YxkpysgT9bCHIXtGAipoc1c9PGkA0h/lNIDlf/AlQrY5rVU3Lka4/ZY27qEfy2keEF+cBBimUkBJq2GIcqFQ2UHeHh36/sIbDHOg6JQgR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718113460; c=relaxed/simple; bh=EQYSCqQXeZZSe0ClprwCP48eVWRMSRk0A6GlSCKcSkc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h+qAGPof3TKHJk/JUwWl1VTCeOLdppCDpLMoTEKX35TJ2ZjOCea1PPhX6Wan5wVZzgfmnhQEF6jbXY1Tl/s9jYLP3PNqmQuUO/hg52vt3blULdxB6nlQvHKIkTt/K8vMtgitWtwCd3Pm6sL/P1fdIHVvufKuEYnYbeId6W6JnLc= 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=gFUo5a5V; arc=none smtp.client-ip=192.198.163.19 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=1718113459; x=1749649459; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EQYSCqQXeZZSe0ClprwCP48eVWRMSRk0A6GlSCKcSkc=; b=gFUo5a5V1GnX2XydgU5zF7EYC/KWkEQqcrVQid5phQOMglvU7IXa9vV9 udhVO/d6pGtMN6wkq+2qMu5mnyXBjF8np/hVcPWC2A43EZ4o78GuMrwXG fQaclTvySDKjfYNL4CQ9+caTVUMiw2BWDijIoVhLnELhkdXmdr4b3hVTb Cm77W4gso9l1jULWdT1nnRe3/Gpgz0Zv3VhoJnDzxENz7Ao+MELfuemUI 8HvIEJ6P/o4s/edanLLbwngG4+9U5oIdfIJyBPeGFWZxnLMjmt8NuRDjO 64YwA2srN9hY0IroYs75zz2VRSIeuFo/p2Eai7s9Kmf68D+7wVCvoAXzi A==; X-CSE-ConnectionGUID: UAOWDUvCTvGumurKBIdWWg== X-CSE-MsgGUID: Fcg0EAiuQKGcv9F+EzxMmQ== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="14622283" X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="14622283" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 06:44:18 -0700 X-CSE-ConnectionGUID: Q0NPPKiNQ7ane9wZalYhdQ== X-CSE-MsgGUID: U69eDlhwT8qu912gTuRt5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="39373309" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 06:44:11 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id CFDB711F855; Tue, 11 Jun 2024 16:44:07 +0300 (EEST) Date: Tue, 11 Jun 2024 13:44:07 +0000 From: Sakari Ailus To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Dave Ertman , Ira Weiny , "Rafael J. Wysocki" , Bingbu Cao , Tianshu Qiu , Mauro Carvalho Chehab , Michael Chan , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jesse Brandeburg , Tony Nguyen , Saeed Mahameed , Leon Romanovsky , Tariq Toukan , Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Daniel Baluta , Kai Vehmanen , Mark Brown , Jaroslav Kysela , Takashi Iwai , Richard Cochran , linux-media@vger.kernel.org, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-rdma@vger.kernel.org, sound-open-firmware@alsa-project.org, linux-sound@vger.kernel.org Subject: Re: [PATCH 1/6] auxbus: make to_auxiliary_drv accept and return a constant pointer Message-ID: References: <20240611130103.3262749-7-gregkh@linuxfoundation.org> 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: <20240611130103.3262749-7-gregkh@linuxfoundation.org> Hi Greg, On Tue, Jun 11, 2024 at 03:01:04PM +0200, Greg Kroah-Hartman wrote: > In the quest to make struct device constant, start by making > to_auziliary_drv() return a constant pointer so that drivers that call s/z/s/ Acked-by: Sakari Ailus # drivers/media/pci/intel/ipu6 > this can be fixed up before the driver core changes. > > As the return type previously was not constant, also fix up all callers > that were assuming that the pointer was not going to be a constant one > in order to not break the build. -- Kind regards, Sakari Ailus