PATCH] block: update add_partition() error handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rufus & Azrael
Date: Monday, July 14, 2008 - 2:07 am

Hello TJ,


I try your patch but it fails on apply (see check.c.X in attachment) and =

when compiling the kernel this build error occurs :l

fs/partitions/check.c:347: erreur: conflicting types for =E2=80=98add_par=
tition=E2=80=99
include/linux/genhd.h:533: erreur: previous declaration of=20
=E2=80=98add_partition=E2=80=99 was here
fs/partitions/check.c: In function =E2=80=98add_partition=E2=80=99:
fs/partitions/check.c:406: attention : =E2=80=98return=E2=80=99 with a va=
lue, in=20
function returning void
fs/partitions/check.c:412: attention : =E2=80=98return=E2=80=99 with a va=
lue, in=20
function returning void
fs/partitions/check.c: In function =E2=80=98rescan_partitions=E2=80=99:
fs/partitions/check.c:512: erreur: valeur void n'a pas =C3=A9t=C3=A9 igno=
r=C3=A9e comme=20
elle aurait d=C3=BB l'=C3=AAtre
make[2]: *** [fs/partitions/check.o] Erreur 1
make[1]: *** [fs/partitions] Erreur 2
make: *** [fs] Erreur 2

Regards.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PATCH] block: update add_partition() error handling, Rufus & Azrael, (Mon Jul 14, 2:07 am)