Re: [PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-29 Thread Alexander Duyck
On 10/29/2015 02:43 PM, Bjorn Helgaas wrote: Hi Alex, On Tue, Oct 27, 2015 at 01:52:33PM -0700, Alexander Duyck wrote: This patch is just a minor cleanup to go through and group all of the variables into one declaration instead of a long string of single declarations for each int. It also

Re: [PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-29 Thread Bjorn Helgaas
Hi Alex, On Tue, Oct 27, 2015 at 01:52:33PM -0700, Alexander Duyck wrote: > This patch is just a minor cleanup to go through and group all of the > variables into one declaration instead of a long string of single > declarations for each int. It also changes the direction for a couple > loops as

Re: [PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-29 Thread Bjorn Helgaas
Hi Alex, On Tue, Oct 27, 2015 at 01:52:33PM -0700, Alexander Duyck wrote: > This patch is just a minor cleanup to go through and group all of the > variables into one declaration instead of a long string of single > declarations for each int. It also changes the direction for a couple > loops as

Re: [PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-29 Thread Alexander Duyck
On 10/29/2015 02:43 PM, Bjorn Helgaas wrote: Hi Alex, On Tue, Oct 27, 2015 at 01:52:33PM -0700, Alexander Duyck wrote: This patch is just a minor cleanup to go through and group all of the variables into one declaration instead of a long string of single declarations for each int. It also

[PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-27 Thread Alexander Duyck
This patch is just a minor cleanup to go through and group all of the variables into one declaration instead of a long string of single declarations for each int. It also changes the direction for a couple loops as we are able to loop with less code this way as testing against 0 can be done as a

[PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable

2015-10-27 Thread Alexander Duyck
This patch is just a minor cleanup to go through and group all of the variables into one declaration instead of a long string of single declarations for each int. It also changes the direction for a couple loops as we are able to loop with less code this way as testing against 0 can be done as a