]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ATM] firestream: handle thrown error
authorJeff Garzik <jeff@garzik.org>
Sat, 21 Oct 2006 02:50:50 +0000 (19:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 22 Oct 2006 02:55:24 +0000 (19:55 -0700)
commit663bab6fd097c18ae0c7a7fd1b4a44558b998cdb
tree1b5b590d393f394396a24a1cdfdc73f0fef82f73
parentb45eccdb51c102e3c5ff9eaecc36200ab2eb09c0
[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: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/firestream.c