Re: [PATCH v2] mhi: make mhi_controller_config::event_cfg const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/19/2022 12:37 PM, 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.

i'm spinning a v3

I was originally going to have changes to drivers/bus/mhi/host/pci_generic.c in a separate patch, but instead decided to squash them.

There will be a separate patch for wifi: ath11k



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux