Commit 06a5c337 authored by Alessandro Rubini's avatar Alessandro Rubini

zio: new master, with vmalloc size change

This picks a master commit of zio, which now includes all the things
needed for this driver.  Since the data_done method now returns integer
(instead of void), the code is fixed in that respect, partly undoing
commit:

   18f2d110 kernel: remove all warnings
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent ea7f95b5
......@@ -219,7 +219,7 @@ static void zfat_change_status(struct zio_ti *ti, unsigned int status)
* occurs before the natural end of the acquisition, un-filled block
* are not stored.
*/
static void zfat_data_done(struct zio_cset *cset)
static int zfat_data_done(struct zio_cset *cset)
{
struct zfad_block *zfad_block = cset->interleave->priv_d;
struct zio_bi *bi = cset->interleave->bi;
......@@ -230,7 +230,7 @@ static void zfat_data_done(struct zio_cset *cset)
/* Nothing to store */
if (!zfad_block)
return;
return 0;
/* Store blocks */
for(i = 0; i < fa->n_shots; ++i)
......@@ -250,7 +250,7 @@ static void zfat_data_done(struct zio_cset *cset)
kfree(zfad_block);
cset->interleave->priv_d = NULL;
return;
return 0;
}
/*
......
zio @ 7af87a01
Subproject commit ec92a91935fb8da28eca33ae403f4f6d144892dc
Subproject commit 7af87a011193d13fe8175a358ed1de2c8e28fa56
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment