From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0FA6C4332F for ; Tue, 8 Nov 2022 13:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233468AbiKHNdq (ORCPT ); Tue, 8 Nov 2022 08:33:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233372AbiKHNdp (ORCPT ); Tue, 8 Nov 2022 08:33:45 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 365E5282 for ; Tue, 8 Nov 2022 05:33:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D9916B81AE4 for ; Tue, 8 Nov 2022 13:33:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C9A6C433D6; Tue, 8 Nov 2022 13:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667914420; bh=7XY63BVNkDFf8XNi82/PutUfKJA6hYvAAgkd8WIXW3o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YcKIrks8T6BZ3a2ieJjFEyPCR56ZLq/aKIYJdZxdCIcWRLdX4BsI5rv4d1EkNjo20 HqC+9lRqeRJ380eIVwEHXQezcPy4Gt9Y1IhtGexYSN1yTwmRxwJUIxkpOxwjonti3M ixtx+bi2XxxEp+oxHisVX2IJnRcGH3sPlPuUhMXIrxyei0l8G7e7dzepmvTt2fUlCC 6FaoFTVKm1DPaa30pN2TvPKHwDUsRdbHVqvast1h+cnYDhfeznCuAsP9Y7RK+gizlP NXWydNDHDz/bG9fnLzlbYLFWYVwwCD8CrEsSyN/+WL98LMMTjN6qLOyT8F9nFwSd9i CqOCpbRKfC9og== From: Kalle Valo To: Manivannan Sadhasivam Cc: Jeff Johnson , Hemant Kumar , linux-arm-msm@vger.kernel.org, mhi@lists.linux.dev Subject: Re: [PATCH v5] bus: mhi: host: make mhi_controller_config::event_cfg const References: <20220829205112.12036-1-quic_jjohnson@quicinc.com> <20220830171147.24338-1-quic_jjohnson@quicinc.com> <20220907080016.GA22505@workstation> Date: Tue, 08 Nov 2022 15:33:35 +0200 In-Reply-To: <20220907080016.GA22505@workstation> (Manivannan Sadhasivam's message of "Wed, 7 Sep 2022 13:30:16 +0530") Message-ID: <87fsettvtc.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Manivannan Sadhasivam writes: > On Tue, Aug 30, 2022 at 10:11:47AM -0700, Jeff Johnson wrote: >> Currently the event_cfg pointer in struct mhi_controller_config is not >> defined as a const pointer. This prevents clients from registering a >> read-only configuration unless they use a typecast. Since the >> event_cfg should not be modified once registered, add the const >> qualifier to event_cfg. This is aligned with the definition of ch_cfg. >> >> Signed-off-by: Jeff Johnson > > Applied to mhi-next! BTW what happened to this patch? I cannot find it anywhere. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches