[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Jun 2018 21:28:12 +0100
From: Justin Skists <justin.skists@...za.co.uk>
To: Samuel Thibault <samuel.thibault@...-lyon.org>,
"Speakup is a screen review system for Linux."
<speakup@...ux-speakup.org>, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: speakup: refactor synths array to use a list
On Wed, Jun 06, 2018 at 03:26:28PM +0200, Samuel Thibault wrote:
> Hello,
>
> Justin Skists, le lun. 04 juin 2018 10:52:12 +0100, a ecrit:
> > The synths[] array is a collection of synths acting like a list.
> > There is no need for synths to be an array, so refactor synths[] to use
> > standard kernel list_head API, instead, and modify the usages to suit.
> > As a side-effect, the maximum number of synths has also become redundant.
>
> This looks good to me,
>
> Reviewed-by: Samuel Thibault <samuel.thibault@...-lyon.org>
Thank you.
> Did you test to e.g. insmod speakup_soft ; insmod speakup_dummy ; rmmod
> speakup_soft ; rmmod speakup_dummy
>
> to make sure it did work correctly?
I did. And I swapped synths via the sysfs interface.
As always, it's always good to double-check. So, I've scripted the test
sequence that I used and attached the output.
> I'd also rather see it tested in the real wild before committing.
As it should be. :)
Justin
View attachment "evidence.txt" of type "text/plain" (3110 bytes)
Powered by blists - more mailing lists