lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170703115248.5907f426@canb.auug.org.au>
Date:   Mon, 3 Jul 2017 11:52:48 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Shaohua Li <shli@...nel.org>, Jens Axboe <axboe@...nel.dk>
Cc:     Linux-Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        NeilBrown <neilb@...e.com>
Subject: Re: linux-next: build failure after merge of the md tree

Hi all,

With the merge window opening, just a reminder that this merge fixup is
still required.

On Thu, 22 Jun 2017 11:44:56 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> After merging the md tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> drivers/md/md.c: In function 'md_run':
> drivers/md/md.c:5449:21: error: too few arguments to function 'bioset_create'
>    mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0);
>                      ^
> In file included from include/linux/blkdev.h:20:0,
>                  from drivers/md/md.c:49:
> include/linux/bio.h:375:24: note: declared here
>  extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
>                         ^
> 
> Caused by commit
> 
>   5a85071c2cbc ("md: use a separate bio_set for synchronous IO.")
> 
> interacting with commit
> 
>   011067b05668 ("blk: replace bioset_create_nobvec() with a flags arg to bioset_create()")
> 
> from the block tree.
> 
> I applied the following merge fix patch:
> 
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Thu, 22 Jun 2017 11:42:02 +1000
> Subject: [PATCH] md: fix up for "blk: replace bioset_create_nobvec() with a
>  flags arg to bioset_create()"
> 
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
>  drivers/md/md.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index c5d9cac4760c..ffccee45af8c 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -5446,7 +5446,7 @@ int md_run(struct mddev *mddev)
>  			return -ENOMEM;
>  	}
>  	if (mddev->sync_set == NULL) {
> -		mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0);
> +		mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0, BIOSET_NEED_BVECS);
>  		if (!mddev->sync_set)
>  			return -ENOMEM;
>  	}
> -- 
> 2.11.0

-- 
Cheers,
Stephen Rothwell

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ