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

2017-11-02 Thread Bruce Ashfield
On 2017-11-01 10:40 PM, Hongxu Jia wrote: Hi Bruce, The upstream accepted it, and merged to kernel 4.14. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79d73346ac05bc31f2e96f899c4e9616a8d4 For 4.12, we could not directly backport from 4.14, please merge

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

2017-11-02 Thread Hongxu Jia
On 2017年11月02日 01:54, Bruce Ashfield wrote: Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request") Upstream-Status: Submitted [linux-bl...@vger.kernel.org] I'll drop this during merge, but do you have a link to the mailing list archive for this ?

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

2017-11-01 Thread Hongxu Jia
Hi Bruce, The upstream accepted it, and merged to kernel 4.14. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79d73346ac05bc31f2e96f899c4e9616a8d4 For 4.12, we could not directly backport from 4.14, please merge this patch. //Hongxu On 2017年11月02日 01:54,

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

2017-11-01 Thread Bruce Ashfield
On 2017-10-31 10:01 PM, Hongxu Jia wrote: 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

[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