[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <487B1748.8010107@numericable.fr>
Date: Mon, 14 Jul 2008 11:07:20 +0200
From: Rufus & Azrael <rufus-azrael@...ericable.fr>
To: Linux-kernel Mailing List <linux-kernel@...r.kernel.org>
CC: Tejun Heo <tj@...nel.org>
Subject: PATCH] block: update add_partition() error handling
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 ‘add_partition’
include/linux/genhd.h:533: erreur: previous declaration of
‘add_partition’ was here
fs/partitions/check.c: In function ‘add_partition’:
fs/partitions/check.c:406: attention : ‘return’ with a value, in
function returning void
fs/partitions/check.c:412: attention : ‘return’ with a value, in
function returning void
fs/partitions/check.c: In function ‘rescan_partitions’:
fs/partitions/check.c:512: erreur: valeur void n'a pas été ignorée comme
elle aurait dû l'être
make[2]: *** [fs/partitions/check.o] Erreur 1
make[1]: *** [fs/partitions] Erreur 2
make: *** [fs] Erreur 2
Regards.
View attachment "check.c" of type "text/x-csrc" (13644 bytes)
View attachment "check.c.orig" of type "text/plain" (13333 bytes)
Download attachment "check.c.rej" of type "application/x-reject" (995 bytes)
Powered by blists - more mailing lists