On (24/11/09 11:23), Liu Shixin wrote: > >> Fixes: 7ac07a26dea7 ("zram: preparation for multi-zcomp support") > > So I think this fixes something much older, probably around e46b8a030d76d > > time (2014). > > The NULL pointer is introduced when zram->compressor is changed to zram->comp_algs in > 7ac07a26dea, where the former is an array of chars and the latter is an array of pointers. > Before that, if we cat comp_algorithm int the time window, we will get a message with no > algorithm selected like this: Good point, you are right.