lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 6 Oct 2020 12:40:00 +0200
From:   Bartosz Golaszewski <brgl@...ev.pl>
To:     Joel Becker <jlbec@...lplan.org>, Christoph Hellwig <hch@....de>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: Re: [PATCH 00/12] samples: configfs: refactor the configfs sample code

On Thu, Sep 24, 2020 at 2:45 PM Bartosz Golaszewski <brgl@...ev.pl> wrote:
>
> From: Bartosz Golaszewski <bgolaszewski@...libre.com>
>
> Over at the GPIO sub-system we have a testing module (gpio-mockup) which
> uses module params to instantiate simulated GPIO chips and debugfs to
> control them. We want to switch to a more stable interface using configfs
> to instantiate chips and sysfs to control them.
>
> For that we need the feature that's well defined in the docs but currently
> unimplemented - committable items. I started working on this but it won't
> be ready for this release cycle.
>
> In the meantime I also refactored the configfs samples a bit as I'll be
> adding sample code for committable items. I thought that it won't hurt
> to send the refactoring patches now for v5.10 so here it is. No logical
> changes really, mostly just code quality and removing usage of deprecated
> functions.
>
> Bartosz Golaszewski (12):
>   MAINTAINERS: add the sample directory to the configfs entry
>   samples: configfs: order includes alphabetically
>   samples: configfs: remove redundant newlines
>   samples: configfs: drop unnecessary ternary operators
>   samples: configfs: improve alignment of broken lines
>   samples: configfs: fix alignment in item struct
>   samples: configfs: replace simple_strtoul() with kstrtoint()
>   samples: configfs: don't reinitialize variables which are already
>     zeroed
>   samples: configfs: prefer sizeof(*var) to sizeof(struct var_type)
>   samples: configfs: consolidate local variables of the same type
>   samples: configfs: don't use spaces before tabs
>   samples: configfs: prefer pr_err() over bare printk(KERN_ERR
>
>  MAINTAINERS                        |  1 +
>  samples/configfs/configfs_sample.c | 78 +++++++++++-------------------
>  2 files changed, 29 insertions(+), 50 deletions(-)
>
> --
> 2.17.1
>

Hi Joel, Christoph,

Any comments on this? Can this still go into v5.10?

Bartosz

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ