Re: [PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

From: Matias BjÃrling
Date: Fri Sep 04 2015 - 04:49:44 EST

On 09/04/2015 10:27 AM, Dongsheng Yang wrote:
On 09/04/2015 04:05 PM, Matias BjÃrling wrote:

So here is a suggestion, register_bm again
if we found nvm_dev->bm == NULL in create_target(). And if it is still
NULL after that. return an error "nvm: no compatible bm was found"
and stop target creating. Otherwise, there would be a NULL Pointer
reference problem.

That's a real problem I met in my testing and I did this change
in my local using. I hope that's useful to you.

Hi Yang,
Similar to this?

Okey, I attached two changes in my local using. I hope that
useful to you.

Thanks! Applied and pushed to master.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at