projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7106f
)
jmicron: fix warning
author
Andrew Morton
<akpm@osdl.org>
Sat, 27 Jan 2007 12:46:21 +0000
(13:46 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 27 Jan 2007 12:46:21 +0000
(13:46 +0100)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/jmicron.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/pci/jmicron.c
b/drivers/ide/pci/jmicron.c
index c1cec236ecf012a1f481fb0f98b57cec0fd748c6..35dda8fcd0ac0462880da741d682a2d5d68dffb6 100644
(file)
--- a/
drivers/ide/pci/jmicron.c
+++ b/
drivers/ide/pci/jmicron.c
@@
-93,8
+93,9
@@
static int __devinit ata66_jmicron(ide_hwif_t *hwif)
return 0;
return 1;
case PORT_SATA:
-
return 1
;
+
break
;
}
+ return 1; /* Avoid bogus "control reaches end of non-void function" */
}
static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted)