mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luca Tettamanti <kronos.it@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-kernel@vger.kernel.org
Subject: [BUG?] inquiry_cache_read: stack size
Date: Mon, 8 Mar 2010 23:38:00 +0100	[thread overview]
Message-ID: <20100308223759.GA27590@nb-core2.darkstar.lan> (raw)

Hi Marcel,
I'm compiling current -git kernel and noticed this warning:

net/bluetooth/hci_sysfs.c: In function 'inquiry_cache_read':
net/bluetooth/hci_sysfs.c:441: warning: the frame size of 4208 bytes is larger than 2048 bytes

which is caused by:

commit ca325f698996c1a0770a67f41e7dc97a007d8bc2
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Mon Feb 8 16:22:31 2010 +0100

    Bluetooth: Convert inquiry cache to use debugfs instead of sysfs

    The output of the inquiry cache is only useful for debugging
    purposes and so move it into debugfs.

This buffer on the stack:

    char buf[4096];

is likelly to cause troubles, since the kernel space stack is limited to
8K or even 4K (4KSTACKS).

Luca

             reply	other threads:[~2010-03-08 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 22:38 Luca Tettamanti [this message]
2010-03-08 23:55 ` Randy Dunlap

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=20100308223759.GA27590@nb-core2.darkstar.lan \
    --to=kronos.it@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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

all inboxes | Powered by JetHome®