From: Dan Carpenter <hidden> Date: 2015-12-09 10:24:06
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Dejavu, but I guess in a different function. Christoph, you are hereby
banned from ever using ?:!
--
Jens Axboe
On Wed, Dec 09, 2015@10:56:37AM -0700, Jens Axboe wrote:
On 12/09/2015 03:24 AM, Dan Carpenter wrote:
quoted
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Dejavu, but I guess in a different function. Christoph, you are hereby
banned from ever using ?:!
Nah, I'm banned from ever moving large chunks of code around again :)
The orginal Bug is Keith's, I just undid the fix by not properly fixing
up the code move for the conflict.
From: Keith Busch <hidden> Date: 2015-12-09 18:00:22
On Wed, Dec 09, 2015@10:56:37AM -0700, Jens Axboe wrote:
On 12/09/2015 03:24 AM, Dan Carpenter wrote:
quoted
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Dejavu, but I guess in a different function. Christoph, you are
hereby banned from ever using ?:!
Ah, that came from me. I wrote the patch on one machine, tested on
another. The tests required those issues be fixed, but the fixes didn't
propgate back to the original machine that generated the patch.
git user fail...
On Wed, Dec 09, 2015@10:56:37AM -0700, Jens Axboe wrote:
quoted
On 12/09/2015 03:24 AM, Dan Carpenter wrote:
quoted
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Dejavu, but I guess in a different function. Christoph, you are hereby
banned from ever using ?:!
Nah, I'm banned from ever moving large chunks of code around again :)
The orginal Bug is Keith's, I just undid the fix by not properly fixing
up the code move for the conflict.
Alright you are off the hook, the ban will be instated in Keith instead :-)
--
Jens Axboe
From: Dan Carpenter <hidden> Date: 2015-12-09 18:14:20
On Wed, Dec 09, 2015@10:56:37AM -0700, Jens Axboe wrote:
On 12/09/2015 03:24 AM, Dan Carpenter wrote:
quoted
The "|" operator has higher precedence than "?:" so this didn't work as
intended. I had previously fixed this bug, but it we copied the older
unfixed version when we moved the function between files.
Fixes: 1673f1f08c88 ('nvme: move block_device_operations and ns/ctrl freeing to common code')
Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Dejavu, but I guess in a different function. Christoph, you are
hereby banned from ever using ?:!
Christoph didn't write this. I think where it went wrong is:
[Moved the integrity and pr changes due to merge conflict]
We merged the buggy version instead of the fixed version. I don't know
git well enough to be positive.
regards,
dan carpenter