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: =?utf-8?q?Andr=C3=A9_Almeida?= X-Patchwork-Id: 10671607 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 348D417D4 for ; Wed, 7 Nov 2018 00:09:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E3142B37F for ; Wed, 7 Nov 2018 00:09:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00E9A2B397; Wed, 7 Nov 2018 00:09:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7ECC92B37F for ; Wed, 7 Nov 2018 00:09:30 +0000 (UTC) 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 1gKBPT-0000S6-Px; Wed, 07 Nov 2018 00:09:27 +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-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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