From patchwork Sun Oct 3 19:57:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12533043 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7190C433EF for ; Sun, 3 Oct 2021 20:04:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6908361278 for ; Sun, 3 Oct 2021 20:04:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6908361278 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jzUFz7BmedF05rM5NkWmouvyoEw+gXWNZoCy6ARMUuE=; b=DOuiudwxvBqdiH vI1G8Ltu+ICo0hW6EWzgnb2Z0UyT+Clk3g2vtr06XpZw06j2jQp9rImR3HvwMbnOxIGXtSWB/KAfw qX+ECY8eOdd0w2aczetG4DSFvi5mU0P2LCM4aDtpLt7cswvQe6QuLJiWgiPCT/wvfhKPV+e2TuKrQ 536zFRrBu97gam1c4V2yyj72OGb4TsG4Hg36r03JZ70xWnuMsxY6rU3uT5oN2wW9cfeFAVCnkiwtU JfLXCpn1oq8DsXMLFaqxo6IFNSJZKBZtaf4hoZwlqgUH0npmT24rSGC+44Gj0ur5E7Km74hNP1onl XE8wDwCLs4710TpGbrKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mX7fs-004O6y-Bo; Sun, 03 Oct 2021 20:01:28 +0000 Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mX7fl-004O48-Rl; Sun, 03 Oct 2021 20:01:23 +0000 Received: by mail-vs1-xe33.google.com with SMTP id f18so17274975vsp.2; Sun, 03 Oct 2021 13:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HoLG1xadIhb37Moe2giR32FgTB7t+l3y/OOs4uvCyVs=; b=kRbNTeXD+RgsVyU+Ta1fIauroLL94BIu81u4UdVoSQ3vZ/s97G1QIAsvktd1ELdHqt 3kyU7q5jZhJPN8a8LircbdF15h57AClMJ7m23KXXr8DFDaabNSNfxjD4/UnPv4Kmxb+l C1800PprDhyO1eu+vyGLSj0wEd3J4bmH0C+eMQ9Ag1XQ0F5MBNwZw2m7eVae7eTHlfM8 yrgTzogDb4agXC3KLrqQRZPBH02PTlxzL5bToocS3rk22S581yPGbV7AOy63GNhn5T7o dAC26OGoOASnpRjoEgJ5Zge0mijYwQu1tJPhO/fGP3XJBV8S0fsGqR26nHlyFWrGaLGb 8xwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HoLG1xadIhb37Moe2giR32FgTB7t+l3y/OOs4uvCyVs=; b=0VpueF0v1cdVejoiDTG2k7U41pk7m6r0Wpuj0+FaMVCxlfD00Jp/veLUryxH8FIhXK SuKbgOUvMdpB4vaeA8xlhY2sHqUDMk2h9pqJczXUt6Lp9DN5VUJjwINdHoZKUGu5BnWs eQIEMUR/UbAoP4h+reaQ0z5rqZ+PanLVqNYLU85TZYTm3L6z3slHNbZBjjMm0kVRRgCc CfdfHRYMJXc3KBv3lmvdyHGyy+8b1G8uS6CJO7/kX+p6zgO5g5J4185S6AjlfFowC2iW ZV19chBmZ78n4wnodwLvwLE79mlbtULurddomUNQBQ2Me7BVcXpW/KxPpn3VJhWXVszf Zr2g== X-Gm-Message-State: AOAM5302FxWyovfyXsE2ChAPhZZujjcnVHEEwdYjw4411Sx9Cm+C48WC 0CSidmEaOsCIm+43xdVWKtQ= X-Google-Smtp-Source: ABdhPJyeB65tXOofex2kQAVQOCCG+rInAXqURozdvA+f5Qf1SXX0kpuXaERC1WMRcV4As2POF2ghmw== X-Received: by 2002:a05:6102:226f:: with SMTP id v15mr10767172vsd.50.1633291279744; Sun, 03 Oct 2021 13:01:19 -0700 (PDT) Received: from localhost.localdomain ([181.23.73.135]) by smtp.gmail.com with ESMTPSA id x21sm6691019uao.2.2021.10.03.13.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 13:01:19 -0700 (PDT) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, stefan.wahren@i2se.com, arnd@arndb.de, dan.carpenter@oracle.com, ojaswin98@gmail.com, amarjargal16@gmail.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH 4/9] staging: vchiq_core.h: use preferred kernel types Date: Sun, 3 Oct 2021 16:57:57 -0300 Message-Id: <20211003195758.36572-5-gascoar@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003195758.36572-1-gascoar@gmail.com> References: <20211003195758.36572-1-gascoar@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211003_130121_951347_074C4FA1 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Change types from uint32_t and uint64_t to the preferred ones u32 and u64. Reported by checkpatch.pl Signed-off-by: Gaston Gonzalez --- .../vc04_services/interface/vchiq_arm/vchiq_core.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h index 383c3bcf787e..a107c72ce3a6 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h @@ -74,7 +74,7 @@ ((fourcc) >> 8) & 0xff, \ (fourcc) & 0xff -typedef uint32_t BITSET_T; +typedef u32 BITSET_T; static_assert((sizeof(BITSET_T) * 8) == 32); @@ -231,10 +231,10 @@ struct vchiq_service { int bulk_tx_count; int bulk_rx_count; int bulk_aborted_count; - uint64_t ctrl_tx_bytes; - uint64_t ctrl_rx_bytes; - uint64_t bulk_tx_bytes; - uint64_t bulk_rx_bytes; + u64 ctrl_tx_bytes; + u64 ctrl_rx_bytes; + u64 bulk_tx_bytes; + u64 bulk_rx_bytes; } stats; int msg_queue_read; @@ -622,7 +622,7 @@ extern void vchiq_set_conn_state(struct vchiq_state *state, enum vchiq_connstate newstate); extern void -vchiq_log_dump_mem(const char *label, uint32_t addr, const void *void_mem, size_t num_bytes); +vchiq_log_dump_mem(const char *label, u32 addr, const void *void_mem, size_t num_bytes); extern enum vchiq_status vchiq_remove_service(unsigned int service);