From patchwork Tue Nov 13 00:37:32 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: 996745 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="HYi79CUF"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="hVOxdpB0"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=riseup.net header.i=@riseup.net header.b="FPE8J1c9"; 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 42v7zP5Fvzz9s3q for ; Tue, 13 Nov 2018 11:38:57 +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:References:In-Reply-To: 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: List-Owner; bh=YfA3yCPdPJlJF+PAoZ0OYqYhDMdayHtjCq4aQEMtQLw=; b=HYi79CUFsukbS0 qRgkTxplKVNS8tTP6nVfmcDZQKiO+G3Z+3hpQFtyMcCim4XZkUnmsn3N8W1BdkX3CSpkgoJNmqtmw eb5VkeWarFDdj7KE+gvam8tFcwG9Ged4AUuOo9R4wILL/8h2O0wu9yKp1IcEomAITD99vDK7DcZ+K /O9+SnoBqCLKqucA+WVlqa7iJbpziDwh2OelsFGm8udX97YN0B9mqZbXFULHbC9M0IAq8bBK1q9R9 wVpwl/GZSUQU8dCalMI35Vch19NVGA1R0VMMLwU7gNr/RqzPaWzVH5LAamsJJ43JeXTaVF/hplxRY KXBV5ZXNAolEmVvVXfcQ==; 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 1gMMjA-0007NH-PI; Tue, 13 Nov 2018 00:38:48 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMMiY-0006aQ-0R; Tue, 13 Nov 2018 00:38:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To: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:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qnahONH8qdq6AOh0RbNXJbjwNjCrEMqYb/K13lvTQMU=; b=hVOxdpB0aKkJF9ZRDYubPx6VM6 jD+6HEerJDsCunmInxsgXxZA86EeHq6fsTVQ/Dvl4NlDZD7JXSpJszFxNi5TDbpxp0apSpPGjFlAX R2MvgNrNVy6hJ2wGyuVe7dIi4ekfCq17/R2YTRUtiLUkxVnbYxIOtkePCSDpZ4zo3grnZgJtek5Sg oGQAJuVTbybh95e8K5jIwDYb8K7vJfP0aAAYwcxJB76snXRgOMV4dujNW++qDiwxYA9mZA7/d9Hfv eXBcrXximYSXtlFAFkfoKzNsHttuC+seVqwfHMWwtlOV9NjMZM+r08Ft6wzc4SsxVa5zSMymyL9qp R0tmXewg==; Received: from mx1.riseup.net ([198.252.153.129]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMMiR-0005EK-Qr; Tue, 13 Nov 2018 00:38:07 +0000 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (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 EB3C61A0159; Mon, 12 Nov 2018 16:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1542069469; bh=h0BHPrX1+O0e3U8NIR/G4dc13FVf2WH3hWkAaRzdLdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FPE8J1c9pUOKbxKcqtLRIYElRSisz0b0OxXPrGvqyxKY2Kf+NYZ1Ssd0tok6qx0bX HIOHVxgf6K6j605DofACfnIG8BDYgSNUv3fIDMTdw6GaWifLqjwpq0yb8J/I/qhoAE 0Y6bmD/CJaHa4WC0YtqyfhH4kJGbqVhqhvHChfMY= X-Riseup-User-ID: C646DFB85E29E695F871CBA95363D312191504DBD6313677C7A0E73E9C77CD3A Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 9E00966343; Mon, 12 Nov 2018 16:37:46 -0800 (PST) From: andrealmeid@riseup.net To: eric@anholt.net, linux-rpi-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, lkcamp@lists.libreplanetbr.org, devel@driverdev.osuosl.org, stefan.wahren@i2se.com Subject: [PATCH v2 1/2] staging: vchi: change type 'int32_t' to 's32' Date: Mon, 12 Nov 2018 22:37:32 -0200 Message-Id: <20181113003733.9615-2-andrealmeid@riseup.net> In-Reply-To: <20181113003733.9615-1-andrealmeid@riseup.net> References: <20181113003733.9615-1-andrealmeid@riseup.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181113_003804_237216_362A237D X-CRM114-Status: GOOD ( 11.83 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -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] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO 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_AU Message has a valid DKIM or DK signature from author's domain 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 As one can see in a typedef at linux/types.h:103, s32 and int32_t are both a 32 bits signed integer. s32 is preferred because it is defined by the kernel maintainers and it prevents portability issues. Changed to meet checkpatch criteria. Signed-off-by: André Almeida --- drivers/staging/vc04_services/interface/vchi/vchi_mh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h index 198bd076b666..40c760d493a1 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h @@ -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 From patchwork Tue Nov 13 00:37:33 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: 996744 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="Bc65uPyh"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="UDaB5CY9"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=riseup.net header.i=@riseup.net header.b="Gme/mdKg"; 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 42v7z66lDHz9s3q for ; Tue, 13 Nov 2018 11:38:42 +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:References:In-Reply-To: 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: List-Owner; bh=VFgk8AmfzjViY0nPmOv8udJoNdbxWFtquMge4JfuPik=; b=Bc65uPyh3/LEq+ GijElQTdYBgQNz98ZCtGjzLCrvBdWLEKvHewU6FDHXTSXq0nRKDxMyCa3+kgj5yF3s0PZfMoe1tRD WhteEXp84Yc96LCmcpiqmP7cf4QVZY5RwxZthwtLPXb8CX97m0+g3APs+JIs2vM/iiWWDyhNe3AFq KRAV6s2oH/AS2MeekC/SwEtspRMqvShDqHpSexuls0zrzZazT0v0mUo0pQQLeGx+xa/zP5+q17Yhq bbpGRY8Qdf77W9Ce9oMsprkqJ9HNsfFK4M67FltXqbCJ/SpqHfalx5nnX1ApPQpR8Y4m9uw9P24LZ JYuno9QKnHUZ/d5zOP+A==; 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 1gMMiw-00072S-2K; Tue, 13 Nov 2018 00:38:34 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMMiX-0006aF-Ae; Tue, 13 Nov 2018 00:38:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To: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:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1wjF8I8OsZtBAu6Tlu/sJ9u7dtrOG7366qdl7IgMQLk=; b=UDaB5CY90IF1IjmWbfBSiVX/W2 r+xZNwdDGzp9yGqRE//xtGGmI2+6CW5607IIY8dcTNJNz5IazAdwX1GAJ7V3196v9r1RYaWH8LtjX 5/X0W7d8y8FGxsdq3OGazOgYLUXZ9nCyF05a4trz0a0gxfjDD052gUCt67UNhkZhrgGv6CG1A7ntT 5M3oB3lZf7dbu5EPVmt5ha/d1V8wYCTFDXj1Bi85ylO/xZHBQ8ReHIUkWeSR6NYcRGQlqOfIOPATW yYstRK5JYL41ThFTjIWPwfh2TWJtmEqrHC3p+cJp/r38MtWCty3ur1rfUATaaVWVabogqJB2ifJlh OJS+brjw==; Received: from mx1.riseup.net ([198.252.153.129]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMMiR-0005EP-Qw; Tue, 13 Nov 2018 00:38:06 +0000 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (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 84EAC1A01D2; Mon, 12 Nov 2018 16:37:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1542069473; bh=ErApfG+rXpXPzgb4hbj9ty+WL7U+Xq+rlMj09mTpzPk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gme/mdKg8mwQ9aMhKTAenZjWWF2y+BX2C6m8BETe32JU+NCy6/IF+dn/pIdOBw0Oh U/uXiBD9E2x/LkEJNWQNEBtJkSVGHdIn14bwGMrUDjccJ/xRAR1KnbdAezQShVUMF6 KATNwgWPLAeFDwpN4lmWkjPMP3HiIyYIxGiivV30= X-Riseup-User-ID: 393A787E44C96F0A50297A45683E84EFD5F7C8DC26C9226983D1E440B04D86CD Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 368DB66343; Mon, 12 Nov 2018 16:37:51 -0800 (PST) From: andrealmeid@riseup.net To: eric@anholt.net, linux-rpi-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, lkcamp@lists.libreplanetbr.org, devel@driverdev.osuosl.org, stefan.wahren@i2se.com Subject: [PATCH v2 2/2] stagin: vchi: Add SPDX-License-Identifier Date: Mon, 12 Nov 2018 22:37:33 -0200 Message-Id: <20181113003733.9615-3-andrealmeid@riseup.net> In-Reply-To: <20181113003733.9615-1-andrealmeid@riseup.net> References: <20181113003733.9615-1-andrealmeid@riseup.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181113_003804_235399_F5E03C74 X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -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] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO 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_AU Message has a valid DKIM or DK signature from author's domain 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 As pointed by Stefan Wahren in v1, this file is dual licensed as GPL-2 and BSD-3. Using multiple license representation as shown here [1]. [1] https://spdx.org/sites/cpstandard/files/pages/files/using_spdx_license_list_short_identifiers.pdf Signed-off-by: André Almeida --- drivers/staging/vc04_services/interface/vchi/vchi_mh.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h index 40c760d493a1..5c780ec49ff7 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0) */ /** * Copyright (c) 2010-2012 Broadcom. All rights reserved. *