diff mbox

[v2,1/5] RSDP: minor cleanups to rsdp.c for checkpatch issues

Message ID 1455059577-7100-2-git-send-email-al.stone@linaro.org
State Accepted
Headers show

Commit Message

Al Stone Feb. 9, 2016, 11:12 p.m. UTC
Signed-off-by: Al Stone <al.stone@linaro.org>
---
 src/acpi/rsdp/rsdp.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Comments

Ivan Hu Feb. 16, 2016, 2:05 a.m. UTC | #1
On 2016年02月10日 07:12, Al Stone wrote:
> Signed-off-by: Al Stone <al.stone@linaro.org>
> ---
>   src/acpi/rsdp/rsdp.c | 9 +++------
>   1 file changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/src/acpi/rsdp/rsdp.c b/src/acpi/rsdp/rsdp.c
> index 423163b..5bc0215 100644
> --- a/src/acpi/rsdp/rsdp.c
> +++ b/src/acpi/rsdp/rsdp.c
> @@ -13,10 +13,6 @@
>    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>    * GNU General Public License for more details.
>    *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>    */
>   #include "fwts.h"
>
> @@ -47,7 +43,7 @@ static int rsdp_init(fwts_framework *fw)
>    */
>   static int rsdp_test1(fwts_framework *fw)
>   {
> -	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp*)table->data;
> +	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp *)table->data;
>   	bool passed = true;
>   	size_t i;
>
> @@ -93,4 +89,5 @@ static fwts_framework_ops rsdp_ops = {
>   	.minor_tests = rsdp_tests
>   };
>
> -FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_TEST_ACPI)
> +FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH |
> +	      FWTS_FLAG_TEST_ACPI)
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin Ian King Feb. 16, 2016, 9:17 a.m. UTC | #2
On 09/02/16 23:12, Al Stone wrote:
> Signed-off-by: Al Stone <al.stone@linaro.org>
> ---
>  src/acpi/rsdp/rsdp.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/src/acpi/rsdp/rsdp.c b/src/acpi/rsdp/rsdp.c
> index 423163b..5bc0215 100644
> --- a/src/acpi/rsdp/rsdp.c
> +++ b/src/acpi/rsdp/rsdp.c
> @@ -13,10 +13,6 @@
>   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>   * GNU General Public License for more details.
>   *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   */
>  #include "fwts.h"
>  
> @@ -47,7 +43,7 @@ static int rsdp_init(fwts_framework *fw)
>   */
>  static int rsdp_test1(fwts_framework *fw)
>  {
> -	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp*)table->data;
> +	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp *)table->data;
>  	bool passed = true;
>  	size_t i;
>  
> @@ -93,4 +89,5 @@ static fwts_framework_ops rsdp_ops = {
>  	.minor_tests = rsdp_tests
>  };
>  
> -FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_TEST_ACPI)
> +FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH |
> +	      FWTS_FLAG_TEST_ACPI)
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
diff mbox

Patch

diff --git a/src/acpi/rsdp/rsdp.c b/src/acpi/rsdp/rsdp.c
index 423163b..5bc0215 100644
--- a/src/acpi/rsdp/rsdp.c
+++ b/src/acpi/rsdp/rsdp.c
@@ -13,10 +13,6 @@ 
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  */
 #include "fwts.h"
 
@@ -47,7 +43,7 @@  static int rsdp_init(fwts_framework *fw)
  */
 static int rsdp_test1(fwts_framework *fw)
 {
-	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp*)table->data;
+	fwts_acpi_table_rsdp *rsdp = (fwts_acpi_table_rsdp *)table->data;
 	bool passed = true;
 	size_t i;
 
@@ -93,4 +89,5 @@  static fwts_framework_ops rsdp_ops = {
 	.minor_tests = rsdp_tests
 };
 
-FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_TEST_ACPI)
+FWTS_REGISTER("rsdp", &rsdp_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH |
+	      FWTS_FLAG_TEST_ACPI)