* next: Build failure in drivers/s390/block/dcssblk.c due to 'dax: enable dax ...'
@ 2016-05-18 13:30 Guenter Roeck
2016-05-18 18:32 ` Vishal Verma
0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2016-05-18 13:30 UTC (permalink / raw)
To: linux-next@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Martin Schwidefsky, Heiko Carstens,
Dan Williams, Vishal Verma
drivers/s390/block/dcssblk.c:43:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/s390/block/dcssblk.c:43:2: warning: (near initialization for 'dcssblk_devops.direct_access') [enabled by default]
drivers/s390/block/dcssblk.c:886:1: error: conflicting types for 'dcssblk_direct_access'
drivers/s390/block/dcssblk.c:33:13: note: previous declaration of 'dcssblk_direct_access' was here
drivers/s390/block/dcssblk.c:33:13: warning: 'dcssblk_direct_access' used but never defined [enabled by default]
drivers/s390/block/dcssblk.c:886:1: warning: 'dcssblk_direct_access' defined but not used [-Wunused-function]
scripts/Makefile.build:295: recipe for target 'drivers/s390/block/dcssblk.o' failed
make[2]: *** [drivers/s390/block/dcssblk.o] Error 1
Bisect points to commit 2b954df309078 ("dax: enable dax in the presence of known media errors (badblocks)".
Bisect log is attached.
Guenter
---
# bad: [621a2a0fb6688af5dce47d60a6d4b5a19ae2c2e4] Add linux-next specific files for 20160518
# good: [2dcd0af568b0cf583645c8a317dd12e344b1c72a] Linux 4.6
git bisect start 'HEAD' 'v4.6'
# good: [586cf328ff7e7c0c32f89d6f2063c81143802c01] Merge remote-tracking branch 'net-next/master'
git bisect good 586cf328ff7e7c0c32f89d6f2063c81143802c01
# good: [69bf2b19c358d937a3f40c07a08bc73476d43c02] Merge remote-tracking branch 'tty/tty-next'
git bisect good 69bf2b19c358d937a3f40c07a08bc73476d43c02
# good: [cc6ecde352ff6cda50e204a4d942e742151027dc] Merge remote-tracking branch 'extcon/extcon-next'
git bisect good cc6ecde352ff6cda50e204a4d942e742151027dc
# good: [d217278c0fbbdd5bd89a02d763bcf1e8eeaa018d] Merge remote-tracking branch 'clk/clk-next'
git bisect good d217278c0fbbdd5bd89a02d763bcf1e8eeaa018d
# good: [6a9d815c7883e262876188ba0569fa049db8f801] radix-tree: remove root->height
git bisect good 6a9d815c7883e262876188ba0569fa049db8f801
# good: [f649c3f1360929e607c6d9c5f8b4a8a7c437af47] Merge remote-tracking branch 'nvdimm/libnvdimm-for-next'
git bisect good f649c3f1360929e607c6d9c5f8b4a8a7c437af47
# good: [e386a22cafdab311d0538c3eae8e227428f88c14] rtsx_usb_ms: use schedule_timeout_idle() in polling loop
git bisect good e386a22cafdab311d0538c3eae8e227428f88c14
# bad: [d0a783895690d227fb7cadc5482d787fb44fd425] Merge branch 'akpm-current/current'
git bisect bad d0a783895690d227fb7cadc5482d787fb44fd425
# good: [a758ba8622449cb31893a0030d0dada82cfb9315] ipc/msg.c: use freezable blocking call
git bisect good a758ba8622449cb31893a0030d0dada82cfb9315
# good: [87eefeb4e80b1526be83e670a08d059a003b7d0e] ext4: Add alignment check for DAX mount
git bisect good 87eefeb4e80b1526be83e670a08d059a003b7d0e
# bad: [2b954df30907837661f5612cf8bd4c21ab80403b] dax: enable dax in the presence of known media errors (badblocks)
git bisect bad 2b954df30907837661f5612cf8bd4c21ab80403b
# good: [1e937cddd1ff4b823fc9d148ebabd443f105211e] xfs: Add alignment check for DAX mount
git bisect good 1e937cddd1ff4b823fc9d148ebabd443f105211e
# good: [8b3db9798c689ba2dc509f6ca1a8c7e1c1a3e62a] dax: fallback from pmd to pte on error
git bisect good 8b3db9798c689ba2dc509f6ca1a8c7e1c1a3e62a
# first bad commit: [2b954df30907837661f5612cf8bd4c21ab80403b] dax: enable dax in the presence of known media errors (badblocks)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: next: Build failure in drivers/s390/block/dcssblk.c due to 'dax: enable dax ...'
2016-05-18 13:30 next: Build failure in drivers/s390/block/dcssblk.c due to 'dax: enable dax ...' Guenter Roeck
@ 2016-05-18 18:32 ` Vishal Verma
2016-05-18 22:11 ` Guenter Roeck
0 siblings, 1 reply; 3+ messages in thread
From: Vishal Verma @ 2016-05-18 18:32 UTC (permalink / raw)
To: Guenter Roeck
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Martin Schwidefsky, Heiko Carstens, Dan Williams
On Wed, May 18, 2016 at 06:30:16AM -0700, Guenter Roeck wrote:
> drivers/s390/block/dcssblk.c:43:2: warning: initialization from incompatible pointer type [enabled by default]
> drivers/s390/block/dcssblk.c:43:2: warning: (near initialization for 'dcssblk_devops.direct_access') [enabled by default]
> drivers/s390/block/dcssblk.c:886:1: error: conflicting types for 'dcssblk_direct_access'
> drivers/s390/block/dcssblk.c:33:13: note: previous declaration of 'dcssblk_direct_access' was here
> drivers/s390/block/dcssblk.c:33:13: warning: 'dcssblk_direct_access' used but never defined [enabled by default]
> drivers/s390/block/dcssblk.c:886:1: warning: 'dcssblk_direct_access' defined but not used [-Wunused-function]
> scripts/Makefile.build:295: recipe for target 'drivers/s390/block/dcssblk.o' failed
> make[2]: *** [drivers/s390/block/dcssblk.o] Error 1
>
> Bisect points to commit 2b954df309078 ("dax: enable dax in the presence of known media errors (badblocks)".
> Bisect log is attached.
>
> Guenter
>
Hi Guenter,
Thanks for the report.
The following incremental patch should fix the problem. I'll fold it in
to dax-misc (to prevent the bisect regression), and it should get picked
by -next in the next build.
-Vishal
8<-----
>From 56f2a2a270b853263704d5b8fa6a6a898fe313ca Mon Sep 17 00:00:00 2001
From: Vishal Verma <vishal.l.verma@intel.com>
Date: Wed, 18 May 2016 12:12:23 -0600
Subject: [PATCH] dcssblk: fix the direct_access prototype to add 'size'
Fixes 2b954df309078 dax: enable dax in the presence of known media
errors (badblocks)
When 'size' was added to the direct_access arguments, I neglected to
update the prototype declaration for dcssblk.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
drivers/s390/block/dcssblk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c
index c45d538..bed53c4 100644
--- a/drivers/s390/block/dcssblk.c
+++ b/drivers/s390/block/dcssblk.c
@@ -31,7 +31,7 @@ static void dcssblk_release(struct gendisk *disk, fmode_t mode);
static blk_qc_t dcssblk_make_request(struct request_queue *q,
struct bio *bio);
static long dcssblk_direct_access(struct block_device *bdev, sector_t secnum,
- void __pmem **kaddr, pfn_t *pfn);
+ void __pmem **kaddr, pfn_t *pfn, long size);
static char dcssblk_segments[DCSSBLK_PARM_LEN] = "\0";
--
2.5.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: next: Build failure in drivers/s390/block/dcssblk.c due to 'dax: enable dax ...'
2016-05-18 18:32 ` Vishal Verma
@ 2016-05-18 22:11 ` Guenter Roeck
0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2016-05-18 22:11 UTC (permalink / raw)
To: Vishal Verma
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Martin Schwidefsky, Heiko Carstens, Dan Williams
On Wed, May 18, 2016 at 12:32:56PM -0600, Vishal Verma wrote:
> On Wed, May 18, 2016 at 06:30:16AM -0700, Guenter Roeck wrote:
> > drivers/s390/block/dcssblk.c:43:2: warning: initialization from incompatible pointer type [enabled by default]
> > drivers/s390/block/dcssblk.c:43:2: warning: (near initialization for 'dcssblk_devops.direct_access') [enabled by default]
> > drivers/s390/block/dcssblk.c:886:1: error: conflicting types for 'dcssblk_direct_access'
> > drivers/s390/block/dcssblk.c:33:13: note: previous declaration of 'dcssblk_direct_access' was here
> > drivers/s390/block/dcssblk.c:33:13: warning: 'dcssblk_direct_access' used but never defined [enabled by default]
> > drivers/s390/block/dcssblk.c:886:1: warning: 'dcssblk_direct_access' defined but not used [-Wunused-function]
> > scripts/Makefile.build:295: recipe for target 'drivers/s390/block/dcssblk.o' failed
> > make[2]: *** [drivers/s390/block/dcssblk.o] Error 1
> >
> > Bisect points to commit 2b954df309078 ("dax: enable dax in the presence of known media errors (badblocks)".
> > Bisect log is attached.
> >
> > Guenter
> >
> Hi Guenter,
>
> Thanks for the report.
> The following incremental patch should fix the problem. I'll fold it in
Yes, it does.
Guenter
> to dax-misc (to prevent the bisect regression), and it should get picked
> by -next in the next build.
> -Vishal
>
>
> 8<-----
>
> From 56f2a2a270b853263704d5b8fa6a6a898fe313ca Mon Sep 17 00:00:00 2001
> From: Vishal Verma <vishal.l.verma@intel.com>
> Date: Wed, 18 May 2016 12:12:23 -0600
> Subject: [PATCH] dcssblk: fix the direct_access prototype to add 'size'
>
> Fixes 2b954df309078 dax: enable dax in the presence of known media
> errors (badblocks)
>
> When 'size' was added to the direct_access arguments, I neglected to
> update the prototype declaration for dcssblk.
>
> Reported-by: Guenter Roeck <linux@roeck-us.net>
> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/s390/block/dcssblk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c
> index c45d538..bed53c4 100644
> --- a/drivers/s390/block/dcssblk.c
> +++ b/drivers/s390/block/dcssblk.c
> @@ -31,7 +31,7 @@ static void dcssblk_release(struct gendisk *disk, fmode_t mode);
> static blk_qc_t dcssblk_make_request(struct request_queue *q,
> struct bio *bio);
> static long dcssblk_direct_access(struct block_device *bdev, sector_t secnum,
> - void __pmem **kaddr, pfn_t *pfn);
> + void __pmem **kaddr, pfn_t *pfn, long size);
>
> static char dcssblk_segments[DCSSBLK_PARM_LEN] = "\0";
>
> --
> 2.5.5
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-18 22:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-18 13:30 next: Build failure in drivers/s390/block/dcssblk.c due to 'dax: enable dax ...' Guenter Roeck
2016-05-18 18:32 ` Vishal Verma
2016-05-18 22:11 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox