Message ID | 20220414181622.102049-4-athierry@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B4382C433F5 for <linux-arm-kernel@archiver.kernel.org>; Thu, 14 Apr 2022 18:19:16 +0000 (UTC) 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=8wuYPmRgO6AOT161Lndfw45T7b+hlMGIWzPkJAPIVE8=; b=O3hojQeXou6+pM 7tc4dDwv7Mablb5vxV3ZSQMT0HNTRvUYK1wP9tbxyalC3hIwXsJrXRM7PftKURfDF72md87BNFWeY CcPHWju8amo746owR+1ksTrrz3cPUfVBHXvb1b/dZk7wDryjamEmY3MaI8yBy17/2d657Jzmd/XQj mIG7Q2XjjAGKnWgYHNuvGJSDW50VJw9052kr7MNfTWHWNtsSYQY9nfp+HqO4akhTYs1qGX76jk0Vw 5x2C0ZZIsxpTnfx+DD7BB0W/Tb1vLHL24rs639Q4LVrSuT4CGatZnrWJyDAvGrTKg6Cke88g7N9Ca U79h7XeeYAvLHn3b+9UA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nf42t-006qVF-Q4; Thu, 14 Apr 2022 18:18:19 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nf42S-006qM4-Qq for linux-arm-kernel@lists.infradead.org; Thu, 14 Apr 2022 18:17:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649960271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zy+BZO4byiGtpgAVtL3WxpyUEL13EpkA7IKsqDx9JAE=; b=WO/P54Y+8WtHeA2QXZ8Bn+l5vO2qtoJhi8HcyFN0nNFYOydeT4emo8RY+4nBrEsCs8JMob vASn6yb59Tr53+xQ5azcJ/ljLqTrmNkKfog06vTPorqrT3aq+3LvL0YRf8hZ9tVuMPCXMn 964WmzgsoIxA5B/UruSefsbQHBLkJxw= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-323-OXXZs_OCOpWbMDPowwBYxg-1; Thu, 14 Apr 2022 14:17:43 -0400 X-MC-Unique: OXXZs_OCOpWbMDPowwBYxg-1 Received: by mail-qv1-f69.google.com with SMTP id jz4-20020a0562140e6400b004461f104a7cso3076551qvb.6 for <linux-arm-kernel@lists.infradead.org>; Thu, 14 Apr 2022 11:17:43 -0700 (PDT) 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=zy+BZO4byiGtpgAVtL3WxpyUEL13EpkA7IKsqDx9JAE=; b=fL8zTPOfr2MulshXUL7TLUDU34D+zfJuoCi0sAdhnCb4F01L7p8lLK/JBFUxt6L/Uv 2qpyMVWoiUkQFzPeyOp3PjcJA9aybouWwGKKnvsNSdODH+UuaIswj/9kZPxkswTFpNVo m7utFByeUaboX28waC3rb0OBGn6Uq6yWcFWVAQs0G38Z7LjeZxEi3LdKjIhwR58D9n0s QLtWlaIsu//pL5/uoQVFMHtWx+FeYDJezbtY6jJfbOWa6NYwlsAbGjN6zAabMDPjXRqX B31ii7LdVwmPGCR1dcZDbKLPo4s2lW5i4kNBrxKMEQsQbsnyPI/6Gkvzy+y+u5ZQPAHj Arbw== X-Gm-Message-State: AOAM532Fb/xfFvUoh507S4jcRimKDL97gHMcWDlWFNhHCC60nN2UcXb8 MVlSrRi4VZdKROteEeAnnsktnu9RIC0aV3UVim/AETz+plxF7DkllCm41nGMPAJZwfv1bAfkwwa CSsOR3ukfCh/nwBLUQBaNFxVbKLIeMTbheO8= X-Received: by 2002:ac8:7f83:0:b0:2e1:df62:380c with SMTP id z3-20020ac87f83000000b002e1df62380cmr2818253qtj.427.1649960262930; Thu, 14 Apr 2022 11:17:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwulDgYN2XzG/gLG13Jj3INXMKsHc0v0l2aMhB1g0X7v8vggHhHUIziyZIXU72AkWg9yx8ExQ== X-Received: by 2002:ac8:7f83:0:b0:2e1:df62:380c with SMTP id z3-20020ac87f83000000b002e1df62380cmr2818235qtj.427.1649960262737; Thu, 14 Apr 2022 11:17:42 -0700 (PDT) Received: from fedora.redhat.com (modemcable200.11-22-96.mc.videotron.ca. [96.22.11.200]) by smtp.gmail.com with ESMTPSA id h5-20020ac85845000000b002edfd4b0503sm1701816qth.88.2022.04.14.11.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 11:17:42 -0700 (PDT) From: Adrien Thierry <athierry@redhat.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Nicolas Saenz Julienne <nsaenz@kernel.org>, Florian Fainelli <f.fainelli@gmail.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com, Maxime Ripard <mripard@kernel.org>, Takashi Iwai <tiwai@suse.com> Cc: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Adrien Thierry <athierry@redhat.com> Subject: [PATCH v2 3/5] staging: bcm2835-audio: fix unnecessary space after cast Date: Thu, 14 Apr 2022 14:16:20 -0400 Message-Id: <20220414181622.102049-4-athierry@redhat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220414181622.102049-1-athierry@redhat.com> References: <20220414181622.102049-1-athierry@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=athierry@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220414_111752_970578_0452ACDD X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
staging: bcm2835-audio: minor code style cleanups
|
expand
|
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c index 856d3c022f80..68e8d491a7ec 100644 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c @@ -236,7 +236,7 @@ static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, { struct snd_pcm_runtime *runtime = substream->runtime; struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; - void *src = (void *) (substream->runtime->dma_area + rec->sw_data); + void *src = (void *)(substream->runtime->dma_area + rec->sw_data); bcm2835_audio_write(alsa_stream, bytes, src); }
Fix issue reported by checkpatch: CHECK: No space is necessary after a cast FILE: drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c:240: Signed-off-by: Adrien Thierry <athierry@redhat.com> --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)