Skip to content

Commit

Permalink
powerpc/44x: Fix build error with -Werror for Warp platform
Browse files Browse the repository at this point in the history
With -Werror enabled during the build, the warp.c file fails to build
due to the temp_isr function not containing a return statement.  This
fixes the build error and documents that the function never returns.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
  • Loading branch information
Josh Boyer committed Jul 5, 2009
1 parent ba703e1 commit a22ebd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/platforms/44x/warp.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ static irqreturn_t temp_isr(int irq, void *context)
value ^= 1;
mdelay(500);
}

/* Not reached */
return IRQ_HANDLED;
}

static int pika_setup_leds(void)
Expand Down

0 comments on commit a22ebd0

Please sign in to comment.