Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-14 Thread Ben Hutchings
On Thu, 2013-03-14 at 06:31 +, Berg, Johannes wrote: > > > > /* and copy the data that needs to be copied */ > > > > cmd_pos = offsetof(struct iwl_device_cmd, payload); > > > > + copy_size = sizeof(out_cmd->hdr); > > > > for (i = 0; i < IWL_MAX_CMD_TFDS; i++) { > >

RE: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-13 Thread Berg, Johannes
> > > /* and copy the data that needs to be copied */ > > > cmd_pos = offsetof(struct iwl_device_cmd, payload); > > > + copy_size = sizeof(out_cmd->hdr); > > > for (i = 0; i < IWL_MAX_CMD_TFDS; i++) { > > > - if (!cmd->len[i]) > > > + int copy = 0; > > > + > > > + if (

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-13 Thread Ben Hutchings
On Thu, 2013-03-14 at 01:50 +, Ben Hutchings wrote: > On Tue, 2013-03-12 at 15:31 -0700, Greg Kroah-Hartman wrote: > > 3.8-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Johannes Berg > > > > commit 8a964f44e01ad3bbc208c3e80d

Re: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-13 Thread Ben Hutchings
On Tue, 2013-03-12 at 15:31 -0700, Greg Kroah-Hartman wrote: > 3.8-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Johannes Berg > > commit 8a964f44e01ad3bbc208c3e80d931ba91b9ea786 upstream. [...] > --- a/drivers/net/wireless/iwlwifi/pcie