/* The function sets up the z/VM user ID filter specified as comma-separated list of user IDs in @val. Note: If it is called early in the boot process, @val is stored and parsed later in hvc_iucv_init().  */
static int param_set_vmidfilter(const char *val, struct kernel_param *kp)
/* The function sets up the z/VM user ID filter specified as comma-separated list of user IDs in @val. Note: If it is called early in the boot process, @val is stored and parsed later in hvc_iucv_init().  */
static int param_set_vmidfilter(const char *val, struct kernel_param *kp)
{
	int rc;
	if (!MACHINE_IS_VM || !hvc_iucv_devices)
		return -ENODEV;
	if (!val)
		return -EINVAL;
	rc = 0;
	if (slab_is_available())
		rc = hvc_iucv_setup_filter(val);
	else
		hvc_iucv_filter_string = val;
	return rc;
}