On Tue, 11 Aug 2020 23:33:13 +0200,
Kees Cook wrote:
>
> On Mon, Aug 03, 2020 at 02:16:15PM +0530, Allen wrote:
> > Here's the series re-based on top of 5.8
> > https://github.com/allenpais/tasklets/tree/V3
>
> Great!
>
> > Let me know how you would want these to be reviewed.
>
> Was a Coccinel
-rpi-ker...@lists.infradead.org
Cc: de...@driverdev.osuosl.org
Signed-off-by: Takashi Iwai
---
Greg, could you apply it if it's OK?
I forgot Cc to you and staging ML in the previous thread.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +++---
1 file changed, 3 insertions(
On Wed, 11 Mar 2020 17:40:02 +0100,
Johan Hovold wrote:
>
> On Wed, Mar 11, 2020 at 12:01:26PM +0100, Takashi Iwai wrote:
> > On Wed, 11 Mar 2020 11:09:03 +0100,
> > Johan Hovold wrote:
> > >
> > > On Wed, Mar 11, 2020 at 11:02:33AM +0100, Takashi Iwai wrote:
On Wed, 11 Mar 2020 11:09:03 +0100,
Johan Hovold wrote:
>
> On Wed, Mar 11, 2020 at 11:02:33AM +0100, Takashi Iwai wrote:
> > On Wed, 11 Mar 2020 10:58:14 +0100,
> > Johan Hovold wrote:
> > >
> > > On Wed, Mar 11, 2020 at 10:19:06AM +0100, Takashi Iwai wrote:
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
Just corrected the subject prefix per request.
drivers/staging/greybus/tools
On Wed, 11 Mar 2020 10:58:14 +0100,
Johan Hovold wrote:
>
> On Wed, Mar 11, 2020 at 10:19:06AM +0100, Takashi Iwai wrote:
> > Since snprintf() returns the would-be-output size instead of the
> > actual output size, the succeeding calls may go beyond the given
> >
Hi,
here is a series of trivial patches just to convert suspicious
snprintf() usages with the more safer one, scnprintf(), just like
other few patches I've already sent out.
Takashi
===
Takashi Iwai (3):
staging: rtl8188eu: Use scnprintf() for avoiding potential buffer
ove
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14 +++---
drivers
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
drivers/staging/rtl8192e/rtllib_rx.c | 4 ++--
drivers/staging/rtl8192e
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
drivers/staging/rtl8188eu/core/rtw_debug.c | 16
drivers
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
drivers/staging/most/core.c | 6 +++---
1 file changed, 3 insertions(+), 3
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit. Fix it by replacing with scnprintf().
Signed-off-by: Takashi Iwai
---
drivers/staging/greybus/tools/loopback_test.c | 24
1
PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.
Signed-off-by: Takashi Iwai
---
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm
PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.
Signed-off-by: Takashi Iwai
---
drivers/staging/most/sound/sound.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/most/sound/sound.c
b/drivers/staging/most/sound/sound.c
index 7c212c0
prefer, I can merge them
through sound tree, too. Let me know.
thanks,
Takashi
===
Takashi Iwai (4):
staging: most: Use managed buffer allocation
staging: bcm2835-audio: Use managed buffer allocation
staging: most: Drop superfluous ioctl PCM ops
staging: bcm2835-audio: Drop superfluous
Clean up the driver with the new managed buffer allocation API.
The hw_params and hw_free callbacks became superfluous and dropped.
Signed-off-by: Takashi Iwai
---
.../staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 17 +
1 file changed, 1 insertion(+), 16 deletions
Clean up the driver with the new managed buffer allocation API.
Also remove the unnecessary checks of channels in hw_params callback
as this is guaranteed by the hw constraints in anyway.
After these cleanups, the hw_params and hw_free callbacks became
empty, hence dropped.
Signed-off-by: Takashi
page mapping in the
default mmap handler
Signed-off-by: Takashi Iwai
---
Since the prerequisite commits above are found only on for-next branch
of sound git tree, please give ACK if the patch is OK; then I'll apply
it on top of my branch. Thanks!
drivers/staging/most/
On Mon, 17 Dec 2018 08:08:54 +0100,
Dan Carpenter wrote:
>
> We free instance here and in the caller. It should be only the caller
> which handles it.
>
> Fixes: d7ca3a71545b ("staging: bcm2835-audio: Operate non-atomic PCM ops")
> Signed-off-by: Dan Carpenter
On Sun, 11 Nov 2018 19:21:29 +0100,
Mike Brady wrote:
>
> /* hardware definition */
> static const struct snd_pcm_hardware snd_bcm2835_playback_hw = {
> .info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
>SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
On Tue, 06 Nov 2018 22:05:11 +0100,
Mike Brady wrote:
>
>
> > On 5 Nov 2018, at 16:11, Takashi Iwai wrote:
> >
> > On Mon, 05 Nov 2018 16:57:07 +0100,
> > Mike Brady wrote:
> >>
> >>> One another thing I'd like to point out is t
On Mon, 05 Nov 2018 16:57:07 +0100,
Mike Brady wrote:
>
> > One another thing I'd like to point out is that the value given in the
> > patch is nothing but an estimated position, optimistically calculated
> > via the system timer. Mike and I had already discussion in another
> > thread, and anoth
On Thu, 25 Oct 2018 00:02:34 +0200,
Kirill Marinushkin wrote:
>
> >> When you play sound - the pointer increments.
> >
> > Unfortunately, when you play sound, the pointer does not actually
> > increment, for up to about 10 milliseconds. I know of no way to actually
> > access the true “live” po
On Thu, 18 Oct 2018 12:57:15 +0200,
Mike Brady wrote:
>
> When the BCM2835 audio output is used, userspace sees a jitter up to 10ms
> in the audio position, aka "delay" -- the number of frames that must
> be output before a new frame would be played.
> Make this a bit nicer for userspace by interp
On Tue, 14 Aug 2018 19:29:32 +0200,
David Miller wrote:
>
> From: Takashi Iwai
> Date: Tue, 14 Aug 2018 19:10:50 +0200
>
> > The recent commit 916c5e1413be ("hv/netvsc: fix handling of fallback
> > to single queue mode") tried to fix the fallback behavior
to a NULL dereference at the callers that expect non-NULL
value.
Fix it by returning the proper net_device object.
Fixes: 916c5e1413be ("hv/netvsc: fix handling of fallback to single queue mode")
Cc:
Signed-off-by: Takashi Iwai
---
drivers/net/hyperv/rndis_filter.c | 2 +-
1 file change
On Mon, 14 Mar 2016 11:13:58 +0100,
Mauro Carvalho Chehab wrote:
>
> Em Mon, 14 Mar 2016 09:22:37 +0200
> Sakari Ailus escreveu:
>
> > Hi Shuah,
> >
> > On Sat, Mar 12, 2016 at 06:48:09PM -0700, Shuah Khan wrote:
> > > Add GFP flags to media_create_pad_link(), media_create_intf_link(),
> > > me
Cc: Haiyang Zhang
> Cc: Hiral Patel
> Cc: Suma Ramars
> Cc: Brian Uchino
> Cc: "James E.J. Bottomley"
> Cc: Jaroslav Kysela
> Cc: Takashi Iwai
For the sound bits,
Acked-by: Takashi Iwai
thanks,
Takashi
> Cc: Andrew Morton
> Suggested-by: David Miller
>
At Mon, 12 Jan 2015 17:35:01 +0100,
Takashi Iwai wrote:
>
> At Sun, 11 Jan 2015 15:04:55 -0600,
> Chris Rorvick wrote:
> >
> > > At Fri, 9 Jan 2015 23:35:46 -0600,
> > > Chris Rorvick wrote:
> > >>
> > >> I have a TonePort UX2 that I
At Mon, 12 Jan 2015 12:42:33 -0800,
Greg Kroah-Hartman wrote:
>
> Hi Takashi,
>
> Here are all of the line6 patches that have been sent to me that were in
> my queue, including the series from Chris that caused you to want to
> move the driver out of staging. I included it here as it had to be
>
At Mon, 12 Jan 2015 11:52:27 -0800,
Greg Kroah-Hartman wrote:
>
> On Mon, Jan 12, 2015 at 05:35:01PM +0100, Takashi Iwai wrote:
> > At Sun, 11 Jan 2015 15:04:55 -0600,
> > Chris Rorvick wrote:
> > >
> > > > At Fri, 9 Jan 2015 23:35:46 -0600,
> > >
At Sun, 11 Jan 2015 15:04:55 -0600,
Chris Rorvick wrote:
>
> > At Fri, 9 Jan 2015 23:35:46 -0600,
> > Chris Rorvick wrote:
> >>
> >> I have a TonePort UX2 that I've used for testing, meaning that some of
> >> this is really only compile-tested.
> >
> > If anyone is responsible for testing with re
At Fri, 9 Jan 2015 23:35:46 -0600,
Chris Rorvick wrote:
>
> The line6usb driver references the device's idProduct and, in some
> cases, the interface number in a number of places to determine device-
> specific configuration values and to call device-specific functionality.
> Rework code to lever
At Mon, 28 Apr 2014 01:44:25 +0300,
Dan Carpenter wrote:
>
> On Sun, Apr 27, 2014 at 10:00:43PM +0200, Mateusz Guzik wrote:
> > > > and a WARN_ON + -EINVAL in line6_init_audio to catch future
> > > > offenders.
> > >
> > > Returning -EINVAL is a bad idea because it would break the driver
> > >
At Mon, 7 Apr 2014 00:12:30 +0200,
L. Alberto Giménez wrote:
>
> Pass the actual variable to sizeof instead of a type definition.
>
> Signed-off-by: L. Alberto Giménez
Acked-by: Takashi Iwai
BTW, does anyone work on line6 stuff actively?
It's been in staging forever, and
At Thu, 26 Sep 2013 10:25:13 +0200,
Takashi Iwai wrote:
>
> At Thu, 26 Sep 2013 08:54:25 +0100,
> Russell King - ARM Linux wrote:
> >
> > On Thu, Sep 26, 2013 at 09:51:23AM +0200, Takashi Iwai wrote:
> > > Hi,
> > >
> > > sorry for the lat re
At Thu, 26 Sep 2013 08:54:25 +0100,
Russell King - ARM Linux wrote:
>
> On Thu, Sep 26, 2013 at 09:51:23AM +0200, Takashi Iwai wrote:
> > Hi,
> >
> > sorry for the lat response, as I've been traveling in the last weeks.
> >
> > At Thu, 19 Sep 20
Hi,
sorry for the lat response, as I've been traveling in the last weeks.
At Thu, 19 Sep 2013 22:53:02 +0100,
Russell King wrote:
>
> This code sequence is unsafe in modules:
>
> static u64 mask = DMA_BIT_MASK(something);
> ...
> if (!dev->dma_mask)
> dev->dma_mask = &mask;
38 matches
Mail list logo