lkml.org 
[lkml]   [2010]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BUG?] inquiry_cache_read: stack size
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


\
 
 \ /
  Last update: 2010-03-08 23:41    [W:0.056 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site