Re: [PATCH v2 01/14] staging: most: add new file configfs.c

2019-03-29 Thread Christian.Gromm
On Do, 2019-03-28 at 16:50 +0300, Dan Carpenter wrote: > External E-Mail > > > On Thu, Mar 28, 2019 at 02:17:29PM +0100, Christian Gromm wrote: > > > > +static ssize_t mdev_link_direction_store(struct config_item *item, > > +  const char *page, size_t > > count)

Re: [PATCH v2 01/14] staging: most: add new file configfs.c

2019-03-28 Thread Dan Carpenter
On Thu, Mar 28, 2019 at 02:17:29PM +0100, Christian Gromm wrote: > +static ssize_t mdev_link_direction_store(struct config_item *item, > + const char *page, size_t count) > +{ > + struct mdev_link *mdev_link = to_mdev_link(item); > + > + if (sysfs_streq(