Hi Or,

>  static const struct file_operations limit_fops = {
>       .owner  = THIS_MODULE,
> -     .open   = file_open,
> +     .open = simple_open,
>       .write  = limit_write,
>       .read   = limit_read,

>  static const struct file_operations dfops = {
>       .owner  = THIS_MODULE,
> -     .open   = dbg_open,
> +     .open = simple_open,
>       .write  = data_write,
>       .read   = data_read,
>  };
> @@ -1003,7 +996,7 @@ static ssize_t outlen_write(struct file *filp, const 
> char __user *buf,
>  
>  static const struct file_operations olfops = {
>       .owner  = THIS_MODULE,
> -     .open   = dbg_open,
> +     .open = simple_open,
>       .write  = outlen_write,
>       .read   = outlen_read,

>  static const struct file_operations fops = {
>       .owner  = THIS_MODULE,
> -     .open   = dbg_open,
> +     .open = simple_open,
>       .read   = dbg_read,
>  };

The above chunks will need to fix alignments.

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to