Re: [linux-yocto] Custom wic imager plugin

2017-10-31 Thread Ed Bartosh
On Sun, Oct 29, 2017 at 10:03:46PM -0400, Paul Knopf wrote: > I am able to create and use custom source plugins for wic, all good. > > However, I can't figure out how to use a custom imager plugin. The code has > support for it, but it is hard-coded to use "direct" as the plugin. There > is no way

[linux-yocto] [linux-yocto-4.12][PATCH 1/1] ide:ide-cd: fix kernel panic resulting from missing scsi_req_init

2017-10-31 Thread Hongxu Jia
Since we split the scsi_request out of struct request, while the standard prep_rq_fn builds 10 byte cmds, it missed to invoke scsi_req_init() to initialize certain fields of a scsi_request structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other members of struct scsi_request). An example p