Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1249728rbb; Mon, 26 Feb 2024 03:47:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW62Yzq1AgzEqLQydV8UWZDGpIMxbCdRaWqPYJ1BLdisAEuVYtec2JikQ1UiY2ABbjj2IAm8JOtJvmKIZR4njUp+SeFumBFY23dwfa4XQ== X-Google-Smtp-Source: AGHT+IH0z367W+PXkfOGrAinvdmym7JYGAx0SfFibLu9GLHG1wx4EK2RzhRgUgZ/esiwoHDRcj/q X-Received: by 2002:a05:6402:1845:b0:565:6f27:9dcf with SMTP id v5-20020a056402184500b005656f279dcfmr5090134edy.34.1708948077746; Mon, 26 Feb 2024 03:47:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708948077; cv=pass; d=google.com; s=arc-20160816; b=JxvlkUEgQBN0du3el9AaFcRtMv1mZizxyivKRQk7a0Ydtk5VPQZFXoUBhi4Ecmgr6Y uqm/m3FFsT5Wlm227ul3MHsjwY6SlG7UZ6dOiowWl7J40LtNng1UANFJDR0KRQCOdIyR w1Z+wGUU6QaJl6+UwgsRDwdZRtaYPVr2TGKidtCE2SosViLB17xGkK2XRYL3kzuse13r uZnY74EbbuDkIjpJELN1HaUmY8et16pDfU14K2qeSTXMf86g0aR1bXZ3GBZgJH2MazJd CjuY7Gx/SSlSfvOq1ViGd5Y5VlsI2XU/NP/gDs8cOEkJWoJohvbBu45IYKsup//jq2h8 x+6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QRqUlMYfT55I0mUOriv+WhNqbIIJL/CKuAFOjzZC4uk=; fh=wH65mjIPO+9Ykn0QVKB3M1Np4kiZRH2CAkFnJ38oJyw=; b=F3eIHPrdp2/dJkcZ0sFrdyQxt5Bfwt9RcDwp7f86F2t90NcVm95rdQDCKYwtDX0ZKr Jp3pUZv56Nzt+WbQi3wg64k/rtiPpPIKZCJvlV8ZYkiB0w3o8SAluFaDrVTCVYKIye5l YyAjhbgjPF3AOGGqjt9gtDEzkSSGH5xr1Wrpgo5F59OuBOFCS9dt6xIhb8EfjLXIJeh/ lBiRPz55Rv2/oc8SUJDkaaen5gZhfilX9K22QaZBlVLfiOQ4AL833zit5y/l2k1lewhQ EV8xYhM9AO8qu/37phvU9RO0xPK7CAZNc/Rc/VxOgbM2mno4qU+sORKoK7J1K6XmG/ld +oXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v7/cjrUo"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d13-20020a50ea8d000000b00565b593ba23si1747172edo.23.2024.02.26.03.47.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 03:47:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v7/cjrUo"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C78B31F27D0E for ; Mon, 26 Feb 2024 11:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDFE11EF15; Mon, 26 Feb 2024 11:47:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v7/cjrUo" Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82D2D1CD35 for ; Mon, 26 Feb 2024 11:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708948051; cv=none; b=SKCiLoEgH+8IKBlwXY5W+MxY1d6vehvNYXJtXZJxkIAvdU+T5JrQpsyZK35cA3Cp1cdtP1m5CdGHYqk1jLr8w/Xq0AXQSGU97DKhGPxv/WfV/m4m5EP8K5tKgXOGBrX15Hgb1FrECPUoXVIKLxse7YglBb1XSxRVSdh1Df3UFgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708948051; c=relaxed/simple; bh=xI/+JNTH1HBg6PbQe98nkhNmlv7el3dBU8j34qK8pO8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u4YZcM9/GJ5JFEhX83y+rrPOMwMKZmofTThuUrIzZNB4L7FuQmNl74xXXAjDiTxApJOlCFscpkeKYjA5LQZGrPSqFcjXqfFuTx2yrOmvJJlnTRBmRKvn5Qz9/OwNe9c0N6rOQyqkK30kgmO5FSGul1yV8c4eZOwuWr3O1f56HA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=v7/cjrUo; arc=none smtp.client-ip=209.85.222.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-787990149edso199832085a.3 for ; Mon, 26 Feb 2024 03:47:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708948048; x=1709552848; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=QRqUlMYfT55I0mUOriv+WhNqbIIJL/CKuAFOjzZC4uk=; b=v7/cjrUoMDVmHDw9PDqqPaFB335Ic7Tm0VaARmQVLFXwA3NFNcCRf4wKZ6hZHXMGNc qiT0tfVNgebYMDrnrM2V5xXP9Skd5LrWzUIbCZYPG8X+L29HN3UoAsjiSS3N8ts7sAOt ZG7k+biFRF+JYyMmWlHPjLw/n41oZzxgiJ1sCxTJgueX6+1FzWFVSvGlOjKlWJ3ejb39 KQR0ZArPO5vPHCmQPXiTvK/Opryoi7jwG4jFhdnJmbNDyuqiOwFds6DAEtc+MowARqZy 7YH9cn6UHRcsYFjbl7jZH8v7ffPlxjhFOavQH9WFrzmcCXwNPbA5vsnAd7dHriWMt4Qt L2+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708948048; x=1709552848; h=in-reply-to:content-transfer-encoding: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=QRqUlMYfT55I0mUOriv+WhNqbIIJL/CKuAFOjzZC4uk=; b=sW11/RyJCi9DUnuGc1cjhPBJ70de5ikjp7A62+t4d6b6g5K9wZyYJCMwI9TXOjsxjK xRjrdYKamd6l06BVlWUtpZDjUWWJzGTCefZvdur2pPTaaPH3FXdbbzi3jGCc7WT6UOe+ QGflogendSq1tL1vfSO2xvQJfTlrACtTb/u0iSTfNXpWHP/LRwi1CxJPoAR69sTEiVPy vQnvcxSny60DyXULLVaarDwk+iXVLHOFnDAVRI0bEU0www0B9Gxv9lOsjkFSwTzciae4 rPjqtLOQeRTIHPVL9gkLREB4OLD3gaaYysJsXe0IMfIvSMr19HUs9oz03gv39em+zsuI +V4A== X-Forwarded-Encrypted: i=1; AJvYcCXO4ChN+yI3QIdjGz+7tM++wC0UWy4joSvWK5XX7dwkpM0Y0m/47NqPcGqNnN+ywYdHC6k/zfTaOVu4Re8TgTcvDcT4dYy2S0Rtloeo X-Gm-Message-State: AOJu0YzegmT+PlUKyT5CimCIdCFofXjBqHznyJvrp5fEiy79ZtDZlu3L 2WjFtHA7CqtoyYKBRuoo3l1HH85uaN/fs7qrHbL35Qu5FCMbIYBxh5O+0D0w8w== X-Received: by 2002:a37:c209:0:b0:787:25e8:3391 with SMTP id i9-20020a37c209000000b0078725e83391mr7569722qkm.18.1708948048577; Mon, 26 Feb 2024 03:47:28 -0800 (PST) Received: from thinkpad ([117.202.184.81]) by smtp.gmail.com with ESMTPSA id u23-20020a05620a121700b00787c6703539sm2033427qkj.90.2024.02.26.03.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 03:47:28 -0800 (PST) Date: Mon, 26 Feb 2024 17:17:23 +0530 From: Manivannan Sadhasivam To: Jeff Johnson Cc: mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com Subject: Re: [PATCH] bus: mhi: host: pci_generic: constify modem_telit_fn980_hw_v1_config Message-ID: <20240226114723.GC8422@thinkpad> References: <20240222-mhi-const-bus-mhi-host-pci_generic-v1-1-d4c9b0b0a7a5@quicinc.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240222-mhi-const-bus-mhi-host-pci_generic-v1-1-d4c9b0b0a7a5@quicinc.com> On Thu, Feb 22, 2024 at 06:00:23PM -0800, Jeff Johnson wrote: > MHI expects the controller configs to be const, and all of the other ones > in this file already are, so constify modem_telit_fn980_hw_v1_config. > > Signed-off-by: Jeff Johnson Applied to mhi-next! - Mani > --- > drivers/bus/mhi/host/pci_generic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c > index cd6cd14b3d29..51639bfcfec7 100644 > --- a/drivers/bus/mhi/host/pci_generic.c > +++ b/drivers/bus/mhi/host/pci_generic.c > @@ -538,7 +538,7 @@ static struct mhi_event_config mhi_telit_fn980_hw_v1_events[] = { > MHI_EVENT_CONFIG_HW_DATA(2, 2048, 101) > }; > > -static struct mhi_controller_config modem_telit_fn980_hw_v1_config = { > +static const struct mhi_controller_config modem_telit_fn980_hw_v1_config = { > .max_channels = 128, > .timeout_ms = 20000, > .num_channels = ARRAY_SIZE(mhi_telit_fn980_hw_v1_channels), > > --- > base-commit: 3ab6aff5793c3c7bdf6535d9b0024544a4abbdd5 > change-id: 20240222-mhi-const-bus-mhi-host-pci_generic-5ddf8f13d35c > -- மணிவண்ணன் சதாசிவம்