mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
target: make config_item_type const
Make these structures const as they are either passed to the functions having the argument as const or stored as a reference in the "ci_type" const field of a config_item structure. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
aa293583f0
commit
ece550b575
4 changed files with 27 additions and 27 deletions
|
@ -8,16 +8,16 @@
|
|||
/*
|
||||
* For struct iscsi_tiqn->tiqn_wwn default groups
|
||||
*/
|
||||
extern struct config_item_type iscsi_stat_instance_cit;
|
||||
extern struct config_item_type iscsi_stat_sess_err_cit;
|
||||
extern struct config_item_type iscsi_stat_tgt_attr_cit;
|
||||
extern struct config_item_type iscsi_stat_login_cit;
|
||||
extern struct config_item_type iscsi_stat_logout_cit;
|
||||
extern const struct config_item_type iscsi_stat_instance_cit;
|
||||
extern const struct config_item_type iscsi_stat_sess_err_cit;
|
||||
extern const struct config_item_type iscsi_stat_tgt_attr_cit;
|
||||
extern const struct config_item_type iscsi_stat_login_cit;
|
||||
extern const struct config_item_type iscsi_stat_logout_cit;
|
||||
|
||||
/*
|
||||
* For struct iscsi_session->se_sess default groups
|
||||
*/
|
||||
extern struct config_item_type iscsi_stat_sess_cit;
|
||||
extern const struct config_item_type iscsi_stat_sess_cit;
|
||||
|
||||
/* iSCSI session error types */
|
||||
#define ISCSI_SESS_ERR_UNKNOWN 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue