Re: [PATCH] block: null_blk: fix 'Invalid parameters' failure when loading module From: Ming Lei <hidden> Date: 2018-03-06 03:33:36 On Mon, Mar 05, 2018 at 03:57:07PM +0000, Bart Van Assche wrote:On Sat, 2018-03-03 at 10:24 +0800, Ming Lei wrote:quoted struct nullb_page { struct page *page; - unsigned long bitmap; + unsigned long bitmap[DIV_ROUND_UP(MAP_SZ, sizeof(unsigned long) * 8)]; }; Could DECLARE_BITMAP() have been used here? Indeed, will do it in V2. Thanks, Ming
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help