linux/drivers/hv
Hongbo Li 895384881e hv: vmbus: Constify struct kobj_type and struct attribute_group
vmbus_chan_group  and vmbus_chan_type are not modified. They are only
used in the helpers which take a const type parameter.

Constifying these structures and moving them to a read-only section can
increase over all security.

```
[Before]
   text   data    bss    dec    hex    filename
  20568   4699     48  25315   62e3    drivers/hv/vmbus_drv.o

[After]
   text   data    bss    dec    hex    filename
  20696   4571     48  25315   62e3    drivers/hv/vmbus_drv.o
```

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Naman Jain <namjain@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240904011553.2010203-1-lihongbo22@huawei.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240904011553.2010203-1-lihongbo22@huawei.com>
2024-09-05 15:04:49 +00:00
..
channel_mgmt.c Drivers: hv: vmbus: Add utility function for querying ring size 2024-04-11 14:55:53 +02:00
channel.c Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted 2024-04-10 21:33:33 +00:00
connection.c Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails 2024-04-10 21:33:32 +00:00
hv_balloon.c Drivers: hv: Cosmetic changes for hv.c and balloon.c 2024-06-06 06:03:29 +00:00
hv_common.c dma-mapping: Simplify arch_setup_dma_ops() 2024-04-26 12:07:28 +02:00
hv_debugfs.c
hv_kvp.c Drivers: hv: Fix syntax errors in comments 2022-06-08 12:26:28 +00:00
hv_snapshot.c hv_utils: Add comment about max VMbus packet size in VSS driver 2022-02-18 13:08:18 +00:00
hv_trace_balloon.h
hv_trace.c
hv_trace.h
hv_util.c Drivers: hv: Remove fcopy driver 2024-04-11 14:55:53 +02:00
hv_utils_transport.c Drivers: hv: utils: Make use of the helper macro LIST_HEAD() 2022-02-09 14:33:21 +00:00
hv_utils_transport.h
hv.c Drivers: hv: vmbus: Fix the misplaced function description 2024-08-03 00:13:01 +00:00
hyperv_vmbus.h Drivers: hv: Remove deprecated hv_fcopy declarations 2024-06-24 07:05:33 +00:00
Kconfig x86/hyperv: Use per cpu initial stack for vtl context 2024-03-08 23:40:09 +00:00
Makefile Drivers: hv: Remove fcopy driver 2024-04-11 14:55:53 +02:00
ring_buffer.c Drivers: hv: vmbus: Remove second way of mapping ring buffers 2023-04-17 19:19:04 +00:00
vmbus_drv.c hv: vmbus: Constify struct kobj_type and struct attribute_group 2024-09-05 15:04:49 +00:00