Message ID | 20221215065853.34477-1-umang.jain@ideasonboard.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp192762wrn; Wed, 14 Dec 2022 23:16:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXtpUFgamMNE+GqH0QBAkjYC84MegTsEfkeNQT2jEQXFLYMk85XFKdwdyV0+9uAH7dGPNtV1 X-Received: by 2002:a17:907:20cc:b0:7c4:fb2c:7a6b with SMTP id qq12-20020a17090720cc00b007c4fb2c7a6bmr2564825ejb.58.1671088615178; Wed, 14 Dec 2022 23:16:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671088615; cv=none; d=google.com; s=arc-20160816; b=BSngVlGtT3sUaM+JgXJPKv2XN5M3+bjreNp3lp7vect8JndWxMZH99uwVnY4Z+LbUh WiLLkqUNr93w3DERhlPJg485UydHsgYcEp9tJ4W1VmU68HXzeXpnZMOZM3FJSv9aJF45 /mkFJSWsiT1b5nSDxZv/xC4VjONgZWlsi0e/HDM71O3e9MZFYMcIPcFGYhQQxE+9ZUik 2UJHkd9osfy0EH5fseLBVcwo5xZcXfjJ67VRwTSHiNdFYuvNyVSFYvmOYiT8ZSijl4pb 8Vzy8u0EgZ8yn9WB8fsnuZybibF7Cr1H4CzMblTCV4Um0C/DeYUc386a1Sofad42t8j7 JZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=L90rywKSfdM9KvdqynNXLDp2qF6BBSm/xeXR1QJVqo4=; b=rRrxpQzSZhfhymzvm3YuJfb+z1UKClrHob3MrjGDS/PKF54MAWvbK8Yt1jr84/QAP0 i6UY3HpMwSCNzbOF9CgXeZWbakVMmqXGR3zTX7vjmC0p0NDb44l/3xXGg2iMKYIWWXel un/YO0WMHs078omN77RWjBH4gRZ8+4D/rQxbqKtPy0o+0EmkVqRDXygPF2e1XlsbZqp0 /BFPKCPFarWbQtMLvfGrD3SHBwgz4NPnh8qINlihHiIdVsGI11rClbC9qDmsIdpkcObF oQcbp85sSc/+AX8dK7ScWi2uwv5Y+gvTemAw43wpV4/Oen3+E3BLtmJnOw2+bLIM2KwH m1kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Cp1vE3QH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb21-20020a1709076d9500b007c16fb7f178si10778744ejc.962.2022.12.14.23.16.31; Wed, 14 Dec 2022 23:16:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Cp1vE3QH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbiLOHFS (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Thu, 15 Dec 2022 02:05:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiLOHEf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Dec 2022 02:04:35 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C69575FB9A; Wed, 14 Dec 2022 22:59:10 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [IPv6:2401:4900:1f3e:7d24:3f0:3e81:fb16:ab4d]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 312A44D5; Thu, 15 Dec 2022 07:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1671087548; bh=RngX/iK1q3MPQdqSLGAYLK2c1bMLyu75yAOqBHRU8M4=; h=From:To:Cc:Subject:Date:From; b=Cp1vE3QHXqJpFku2pW2wJl4PZN985abL3hJ1u4/MM5RgsalktePX1s2v/xcGl8Rfq E4YQXklqSG/fKt/w0+EbqkGsSzDfOxTXpj/Jsyxdbk+Ra4nA3RMGJ238RlJK98+tmQ jsrpwEOiUghhHgL5t0nD9Ym9X7z37fC+1/glC4Bg= From: Umang Jain <umang.jain@ideasonboard.com> To: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kees Cook <keescook@chromium.org>, Stefan Wahren <stefan.wahren@i2se.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Florian Fainelli <f.fainelli@gmail.com>, Adrien Thierry <athierry@redhat.com>, Dan Carpenter <error27@gmail.com>, Dave Stevenson <dave.stevenson@raspberrypi.com>, Kieran Bingham <kieran.bingham@ideasonboard.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Umang Jain <umang.jain@ideasonboard.com> Subject: [PATCH 0/7] staging: vc04_services: Remove custom return values Date: Thu, 15 Dec 2022 12:28:46 +0530 Message-Id: <20221215065853.34477-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752263415906074265?= X-GMAIL-MSGID: =?utf-8?q?1752263415906074265?= |
Series |
staging: vc04_services: Remove custom return values
|
|
Message
Umang Jain
Dec. 15, 2022, 6:58 a.m. UTC
The series removes the custom return values from functions and replaces them with linux error codes. This address the TODO vchiq interface: * Get rid of custom function return values Umang Jain (7): staging: vc04_services: Replace vchiq_status return type to int staging: vc04_services: Drop VCHIQ_SUCCESS usage staging: vc04_services: Drop VCHIQ_ERROR usage staging: vc04_services: Drop VCHIQ_RETRY usage vc04_services: vchiq_arm: Drop VCHIQ_RETRY usage on disconnect staging: vc04_services: Drop enum vchiq_status remnants staging: vc04_services: vchiq: Drop custom return values from TODO .../bcm2835-audio/bcm2835-vchiq.c | 12 +- .../include/linux/raspberrypi/vchiq.h | 65 +++--- drivers/staging/vc04_services/interface/TODO | 5 - .../interface/vchiq_arm/vchiq_arm.c | 122 +++++----- .../interface/vchiq_arm/vchiq_arm.h | 12 +- .../interface/vchiq_arm/vchiq_core.c | 216 +++++++++--------- .../interface/vchiq_arm/vchiq_core.h | 18 +- .../interface/vchiq_arm/vchiq_dev.c | 36 +-- .../interface/vchiq_arm/vchiq_ioctl.h | 8 +- .../vc04_services/vchiq-mmal/mmal-vchiq.c | 11 +- 10 files changed, 245 insertions(+), 260 deletions(-)