| From | Chaitanya Kulkarni <> | Subject | Re: [PATCH 03/20] block, blksnap: module management interface functions | Date | Mon, 13 Jun 2022 22:44:10 +0000 |
| |
> +static int ioctl_snapshot_wait_event(unsigned long arg) > +{ > + int ret = 0; > + struct blk_snap_snapshot_event *karg; > + struct event *event; > + > + //pr_debug("Wait event\n");
please avoid avove comment style and remove debug statements.
> + karg = kzalloc(sizeof(struct blk_snap_snapshot_event), GFP_KERNEL); > + if (!karg) > + return -ENOMEM;
-ck
|