diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-01-14 07:01:17 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-04 05:43:02 +0200 |
commit | ba256b41bd58f0821c9c0e203982fb260f09bdeb (patch) | |
tree | d56f5fa22fa4d82318e4e611ab5285ba5c5a5c1d /drivers/media/common/tuners/tda18271-common.c | |
parent | panasonic-laptop: Fix autoloading (diff) | |
download | linux-ba256b41bd58f0821c9c0e203982fb260f09bdeb.tar.xz linux-ba256b41bd58f0821c9c0e203982fb260f09bdeb.zip |
panasonic-laptop: use snprintf with PAGE_SIZE in sysfs attributes
Instead of just sprintf() into the page-sized buffer provided
by the sysfs/device_attribute API, we use snprintf with PAGE_SIZE
as an additional safeguard.
Signed-off-by: Martin Lucina <mato@kotelna.sk>
Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/media/common/tuners/tda18271-common.c')
0 files changed, 0 insertions, 0 deletions