From patchwork Wed Nov 7 00:07:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: andrealmeid@riseup.net X-Patchwork-Id: 993990 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=riseup.net Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i7SRcDbr"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="etuvRAtG"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=riseup.net header.i=@riseup.net header.b="D8iLHCCD"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42qRcG2wBzz9s7T for ; Wed, 7 Nov 2018 11:09:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5dPS5Q/8iEkvd0fAWp0ocTmxr8+AMk3OmcDhC+fYGBI=; b=i7SRcDbrJhXWvo RKF82EF0Do1yni1coSRs5oVXAYi4J+fp14YInXPZVBcMyiGDS+RJPQCJLbBIpnBGbW2FoonCjcllT +AdZ9E/iF9+ZBhzvXhNivh7s0d2ew1hPukX1fWKCTD7M0whiADh6jpdqAQGAuB3LTq/49s738jYE9 GzGju/P6MJi5nfzeCltsX7MA9vy275mGK93ZArcIs5QNEnrhqj46Brc5hnPRUu/GKzegLJsl4dRLi zgH9u3bj4rJnNjMcGtsqk4+yDWhSYNYCYbG5pYUIRO2K8bZv0UGJ5ok5oq16E6yS2KViSNQmku4xQ h4fLyl0IrOdSFXq7+l3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKBPU-0000S6-6x; Wed, 07 Nov 2018 00:09:28 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKBPS-0000Rx-6P; Wed, 07 Nov 2018 00:09:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9dH1F1dCm8iiohl6b0Z0deOIs6PrIAEy95gFCc0P/Mo=; b=etuvRAtGz0sIlxBEM81gV1p7r6 /wpjXE0LHiMJUgfftGMHt8WAcqBF5PfkOJB95qn9Zf/N4zzp6GyDADSewzfFcS8GcIHCNeihLSaRF VE5loxS8SJfGlcxzc7gJ7RyAoWAFNhBiM5X5A6xmVAkCo/rhzFk19uHOeBNtVTVtKk85zhoSSQj5S FRnpqOPFcdwrpKISsXs7J0SyRa//5RCVostMfGWtWe1sLCdxn3anhHHg2gYgZkoN9txNz3Fd8eH5q KgL2ZOzSCQHNQUiNYKHbiUjaM01ja+eCDVd4wmL7aRBGGXVEKdDT7PhAil2NfFbW6mMYBZ+XFgOob efxfsrRw==; Received: from mx1.riseup.net ([198.252.153.129]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKBPP-0000i5-Pu; Wed, 07 Nov 2018 00:09:24 +0000 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 542E51A0217; Tue, 6 Nov 2018 16:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1541549344; bh=qc9zqW/DAhe5pAVpQyJT+D2jJAV57DsW+D/OeaFJT6Q=; h=From:To:Cc:Subject:Date:From; b=D8iLHCCDFT3j+rEY/G6PkRq/zjW+grogKbA1ZepSz8SQdRBR4H5jBV+yTqrtURBi6 kV+mM2W66cojmotWa68zzeGghyp5yoounUGo5WbBop/1yH4wFJ8UnJK6jYRq7tvX12 ZhNr/7MjbUgJSD/Zrnoes6GH6hfwkHZ1pa3D8z8Y= X-Riseup-User-ID: 41CF57593B07B15280A7162EBE2C40D9B41701CC69473A05A6F305623264EBC6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id CC26FE76F7; Tue, 6 Nov 2018 16:09:00 -0800 (PST) From: andrealmeid@riseup.net To: eric@anholt.net, stefan.wahren@i2se.com, gregkh@linuxfoundation.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org, lkcamp@lists.libreplanetbr.org Subject: [PATCH] Staging: vchi: Add license id and change int type Date: Tue, 6 Nov 2018 22:07:38 -0200 Message-Id: <20181107000738.26963-1-andrealmeid@riseup.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181106_190923_928945_78BFDCED X-CRM114-Status: GOOD ( 10.44 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [198.252.153.129 listed in list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Andr=C3=A9_Almeida?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: André Almeida Fix the following checkpatch issues: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 CHECK: Prefer kernel type 's32' over 'int32_t' Signed-off-by: André Almeida --- Hello! This is my first patch to Linux Kernel. Let me know any feedback --- drivers/staging/vc04_services/interface/vchi/vchi_mh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h index 198bd076b666..42fc0c693d43 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2010-2012 Broadcom. All rights reserved. +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (c) 2010-2012 Broadcom. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -36,7 +36,7 @@ #include -typedef int32_t VCHI_MEM_HANDLE_T; +typedef s32 VCHI_MEM_HANDLE_T; #define VCHI_MEM_HANDLE_INVALID 0 #endif