From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v7/cjrUo" 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-Google-Smtp-Source: AGHT+IHi3HYOP27dsAZYTozwNq3EVHMCKBPNrZ0oYnRIkB0H+YY5YnR3Yxm0XqH2Uh4PixfVEIMWgQ== 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 > -- மணிவண்ணன் சதாசிவம்