mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Cc: olivier.grenie@dibcom.fr,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	jslaby@suse.cz
Subject: Re: WARNING: at lib/dma-debug.c:866 check_for_stack
Date: Fri, 14 May 2010 13:25:48 +0200	[thread overview]
Message-ID: <20100514112548.GD510@8bytes.org> (raw)
In-Reply-To: <AANLkTikyx2eaxaiUCFDSfpmn1UG0t2GOxArz6F4wp1LJ@mail.gmail.com>

On Fri, May 14, 2010 at 10:56:46AM +0200, Zdenek Kabelac wrote:
> I've noticed my dvb-t tuner reports this Warning about stack usage for DMA.
> Is there some fix already available ?

int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
                        struct dvb_usb_device_description **desc, int *cold)
{
        u8 b[16];
        s16 ret = usb_control_msg(udev, usb_rcvctrlpipe(udev,0),
                REQUEST_GET_VERSION, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0, b, 16, USB_CTRL_GET_TIMEOUT);

	...
}

The variable b is on the stack and used as the usb transfer buffer. This
should be easy to fix.

	Joerg


      reply	other threads:[~2010-05-14 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14  8:56 Zdenek Kabelac
2010-05-14 11:25 ` Joerg Roedel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100514112548.GD510@8bytes.org \
    --to=joro@8bytes.org \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier.grenie@dibcom.fr \
    --cc=zdenek.kabelac@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome