> -----Original Message----- > From: Tomi Valkeinen [mailto:tomi.valkeinen@xxxxxx] > Sent: Thursday, July 31, 2014 21:38 PM > > I think in hvfb_on_panic() we should be able to get the > > hvfb_info pointer by > > hvfb_info = container_of(nb, struct hv_fb_panic_nb, nb). > > > > If you like that or have a better idea, please let me know so > > I can make a new patch. > > Or maybe you can add the notifier_block and the synchronous_fb to > hvfb_par? From the notifier_block pointer you could then get hvfp_par, > and from there hvfb_info. > Tomi Hi Tomi, Thanks a lot for the suggestion! It's better. I'll send out a v4 patch for your review. Thanks, -- Dexuan _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel