Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6163831pxb; Mon, 14 Feb 2022 17:22:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoo1Kb/5wubiWnmXmLznONjutW8YhskbpXYN+zshDnLoHNT20D1jzVY4/H06DUJdsEraPd X-Received: by 2002:a17:90a:1d:: with SMTP id 29mr1669928pja.140.1644888175366; Mon, 14 Feb 2022 17:22:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644888175; cv=none; d=google.com; s=arc-20160816; b=oFmxEGsT0FFefUV8Xx5nZfCgxX90Ja5JpaEa7baAS8VXhXrio3SRQoauRFG1TAdNPj AA6UEKrqIhDRYvlRa8Zf/wRxAh3tfbN4DR+ZZpHrbtmxG4bDTFEFfZQvvNmpUpC4C0U6 vGrI1HRgmzHSf/6f0cRiWAXaaYKvnSpVQaXGRReH5Nmxmr1Pqq21PVVUFicozCq6oKK7 pdqgQvTFTN2Q2qkbBp0qBnrd7BHB+vVPoKhtinWw2E/kEuschaYzStzH7SrmQV32+jOD tFzmMB9WkGCBJTaumRDrIiHt9QhiGsLy1rKW9oFoIqYqpyY7sBSHCsSlVm+66YEEg25L DmPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dmarc-filter:sender:dkim-signature; bh=Dg6NmRdYsXIymYqcfOP6WfnOJ5GwUIk9N0UWGtj/16Y=; b=XZQyjmtpqOSobf9uGVXB3WgoBRk/BOO98n2W9iwQ2BWVrxEC/rzIJsyebs5t3ysQsG 4AB3aBIngYXue8m09oD/D5ytvRN1jarZPzkCE44/2Xpu70y6ntEuOG78/En5T3wiu3jI rCnpr0Tqs9fVcane8wjmOopzfQ6o2HPuu6I+GTJkAmu7bFxDQkzp3Fhut0JVbATYK5sN Rbv5gcKpqdTYQNQF38JqjprvEsWTMxX47iNdBWPM2j6uGOVDhG13L5sU/84MI6gqfwwB hjuMZmTLxaHqy1izTDZ/ZgRDyxEbgQDyx2jsqMf7H9x0qdND+NrAIn/EJ0vwMajcMY2x WO1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Ndb+chaH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l185si1224247pge.556.2022.02.14.17.22.38; Mon, 14 Feb 2022 17:22:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Ndb+chaH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232555AbiBOAb3 (ORCPT + 99 others); Mon, 14 Feb 2022 19:31:29 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232355AbiBOAb2 (ORCPT ); Mon, 14 Feb 2022 19:31:28 -0500 Received: from so254-9.mailgun.net (so254-9.mailgun.net [198.61.254.9]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id 1DE9C11943C for ; Mon, 14 Feb 2022 16:31:19 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1644885079; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: From: References: Cc: To: Subject: MIME-Version: Date: Message-ID: Sender; bh=Dg6NmRdYsXIymYqcfOP6WfnOJ5GwUIk9N0UWGtj/16Y=; b=Ndb+chaHlNePs7YvuIvW2YrsByUibARjGh4IO445qyO75UxduMCm6RZ+xqS9NS5PHqDAuypa F1loIkp5friaUrZqW4uFWqYLGgqM/DvOOuY2czTv8uRU/N/z588R+1zdS0wcmhzmIZJm6k8G mgwb80Bl+/9Vkuu0KlP1KrpSaWo= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 620af455110bf0c781596601 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 15 Feb 2022 00:31:17 GMT Sender: hemantk=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B7528C43617; Tue, 15 Feb 2022 00:31:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.1.14] (cpe-76-176-73-171.san.res.rr.com [76.176.73.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hemantk) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3A525C4338F; Tue, 15 Feb 2022 00:31:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 3A525C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org Message-ID: <7c11e976-b87a-5834-40a3-bca4ce499fa5@codeaurora.org> Date: Mon, 14 Feb 2022 16:31:14 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH v3 05/25] bus: mhi: Make mhi_state_str[] array static inline and move to common.h Content-Language: en-US To: Manivannan Sadhasivam , mhi@lists.linux.dev Cc: quic_hemantk@quicinc.com, quic_bbhatt@quicinc.com, quic_jhugo@quicinc.com, vinod.koul@linaro.org, bjorn.andersson@linaro.org, dmitry.baryshkov@linaro.org, quic_vbadigan@quicinc.com, quic_cang@quicinc.com, quic_skananth@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, elder@linaro.org References: <20220212182117.49438-1-manivannan.sadhasivam@linaro.org> <20220212182117.49438-6-manivannan.sadhasivam@linaro.org> From: Hemant Kumar In-Reply-To: <20220212182117.49438-6-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/12/2022 10:20 AM, Manivannan Sadhasivam wrote: > mhi_state_str[] array could be used by MHI endpoint stack also. So let's > make the array as "static inline function" and move it inside the > "common.h" header so that the endpoint stack could also make use of it. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Hemant Kumar -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project