mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
ib_srpt: Declare second srpt_get_u64_x() argument const
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -157,7 +157,7 @@ module_param(use_node_guid_in_target_name, bool, 0444);
|
||||
MODULE_PARM_DESC(use_node_guid_in_target_name,
|
||||
"Use HCA node GUID as SCST target name.");
|
||||
|
||||
static int srpt_get_u64_x(char *buffer, struct kernel_param *kp)
|
||||
static int srpt_get_u64_x(char *buffer, const struct kernel_param *kp)
|
||||
{
|
||||
return sprintf(buffer, "0x%016llx", *(u64 *)kp->arg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user