Skip to content

Commit

Permalink
[ATM]: [ambassador] Change the return type to reflect reality
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jeff Garzik authored and David S. Miller committed Oct 4, 2006
1 parent 0c1cca1 commit 3a4e5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/atm/ambassador.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,8 @@ static irqreturn_t interrupt_handler(int irq, void *dev_id,

/********** make rate (not quite as much fun as Horizon) **********/

static unsigned int make_rate (unsigned int rate, rounding r,
u16 * bits, unsigned int * actual) {
static int make_rate (unsigned int rate, rounding r,
u16 * bits, unsigned int * actual) {
unsigned char exp = -1; // hush gcc
unsigned int man = -1; // hush gcc

Expand Down

0 comments on commit 3a4e5e2

Please sign in to comment.