[PATCH 2/9] block: add scatterlist-less DMA mapping helpers

Christoph Hellwig hch at lst.de
Mon Jun 16 05:42:05 PDT 2025


On Mon, Jun 16, 2025 at 02:37:43PM +0200, Daniel Gomez wrote:
> 	
> 2. In the if/switch case default case (line 181-183):
> 	It sets the status to invalid and *iter_start() returns false:
> 	
> 		default:
> 			iter->status = BLK_STS_INVAL;
> 			return false;
> 
> 
> Removing the invalid assignment "makes it" valid (because of the
> initialization)

Huhhh?  How do you make a field access valid by dropping an assignment?




More information about the Linux-nvme mailing list