Skip to contentSkip to conversation

jsflash: fix compilation

PATCH Applied Christoph Hellwig 3 participants 6 messages May 15, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jsflash: fix compilation

No bio in this whole function, use req->bio instead.

Fixes 37a5b5c6 ("jsflash: handle highmem pages");

---

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

 drivers/sbus/char/jsflash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sbus/char/jsflash.c +1 -1
index 8520587b8d09..821367ef9dd3 100644
@@ -230,7 +230,7 @@ static void jsfd_request(void)
 			goto end;
 		}
 
-		p = kmap_atomic(bio_page(bio)) + bio_offset(bio);
+		p = kmap_atomic(bio_page(req->bio)) + bio_offset(req->bio);
 		jsfd_read(p, jdp->dbase + offset, len);
 		kunmap_atomic(p);
 		err = BLK_STS_OK;
Signature · 1 line
2.17.0
maintainer Applied
#1 lore raw
Quoted 1 line · Christoph Hellwig

No bio in this whole function, use req->bio instead.

Applied.

Quoted 3 lines

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

Needs input from the folks that actually might use it. The driver looks abandoned, it's only getting updates through API changes etc.

Signature · 1 line
Jens Axboe
maintainer
#2 lore raw

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 12:51:20 -0600

Quoted 11 lines · Christoph Hellwig
Quoted 1 line

No bio in this whole function, use req->bio instead.

Applied.

Quoted 3 lines

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

Needs input from the folks that actually might use it. The driver looks abandoned, it's only getting updates through API changes etc.

I don't think anyone is using it.

maintainer
#3 lore raw
Quoted 8 lines · David Miller

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 12:51:20 -0600

Quoted 5 lines · Christoph Hellwig
Quoted 1 line

No bio in this whole function, use req->bio instead.

Applied.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

Needs input from the folks that actually might use it. The driver looks abandoned, it's only getting updates through API changes etc.

I don't think anyone is using it.

Are you fine with removing it then?

Signature · 1 line
Jens Axboe
maintainer Acked-by
#4 lore raw

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 13:00:36 -0600

Quoted 13 lines · David Miller
Quoted 12 lines

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 12:51:20 -0600

Quoted 9 lines · Christoph Hellwig
Quoted 1 line

No bio in this whole function, use req->bio instead.

Applied.

Quoted 3 lines

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Needs input from the folks that actually might use it. The driver looks abandoned, it's only getting updates through API changes etc.

I don't think anyone is using it.

Are you fine with removing it then?

Yes, I am:

maintainer
#5 lore raw
Quoted 19 lines · David Miller

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 13:00:36 -0600

Quoted 16 lines · David Miller
Quoted 15 lines

From: Jens Axboe <[email protected]>
Date: Tue, 15 May 2018 12:51:20 -0600

Quoted 11 lines · Christoph Hellwig
Quoted 1 line

No bio in this whole function, use req->bio instead.

Applied.

Quoted 3 lines

Looks like no one except for Guenters build bot cared. I wonder if we should just get rid of the driver given that it doesn't look in a good shape at all based on his build logs even with the fix..

Needs input from the folks that actually might use it. The driver looks abandoned, it's only getting updates through API changes etc.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

I don't think anyone is using it.

Are you fine with removing it then?

Yes, I am:

Great, done!

Signature · 1 line
Jens Axboe