From mboxrd@z Thu Jan 1 00:00:00 1970 From: axboe@kernel.dk (Jens Axboe) Date: Fri, 29 Jun 2018 08:52:18 -0600 Subject: [4.18-rc2 regression] WARNING: CPU: 0 PID: 1 at drivers/nvme/host/pci.c:2570 nvme_probe+0x212/0x440 In-Reply-To: References: <20180624211520.GA16559@sbauer-Z170X-UD5> <703993f1-31a2-c175-f4cb-541713fac14e@kernel.dk> <21f7e774-0be6-f314-b531-b1772dff90fd@kernel.dk> <20180629091645.GA16878@lst.de> Message-ID: On 6/29/18 7:54 AM, Jens Axboe wrote: > On 6/29/18 3:16 AM, hch@lst.de wrote: >>> static inline struct scatterlist *__sg_next(struct scatterlist *sg) >>> { >>> -#ifdef CONFIG_DEBUG_SG >>> - BUG_ON(sg->sg_magic != SG_MAGIC); >>> -#endif >>> return sg_is_last(sg) ? NULL : ____sg_next(sg); >>> } >> >> All that sg mess in i915 really needs to switch to using the generic >> helpers instead of being opencoded.. > > Totally agreed... > >> But except for that the sg_magic removal looks good to me: >> >> Acked-by: Christoph Hellwig > > Thanks, though I wonder if we can sneak this into 4.18. I'd rather > avoid having to shrink nvme segment count further, if at all possible. Decided I'll see what the boss man says, it's small enough that it should be doable... Queued up for 4.18. -- Jens Axboe