]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[ATM] firestream: handle thrown error
authorJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 00:42:39 +0000 (01:42 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 21 Feb 2007 00:42:39 +0000 (01:42 +0100)
commit379efed186cb110913caa2014bf6cbc396e1fefb
tree5b58d11a878d77aa0cf6911bf73300468fca9e64
parentec2b07d409fcf3d83312b7fd431d1e8798224682
[ATM] firestream: handle thrown error

gcc emits the following warning:

drivers/atm/firestream.c: In function ‘fs_open’:
drivers/atm/firestream.c:870: warning: ‘tmc0’ may be used uninitialized in this function

This indicates a real bug.  We should check make_rate() return value for
potential errors.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/atm/firestream.c