Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1340576imc; Sun, 17 Mar 2019 11:04:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwznRJVnCYJALojfrgMCudxM80Izk+hsDAJp5xUskiclWSIETLZMHiSyW3T62ak02G8bfj X-Received: by 2002:a65:6497:: with SMTP id e23mr13510496pgv.21.1552845858085; Sun, 17 Mar 2019 11:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552845858; cv=none; d=google.com; s=arc-20160816; b=0hQDL6Nd5iCqgH2uTiQessgDgu0cwBgAQ6wWoNtUDr/FmlCQ4NunOJHgqpE+URkeYE 2ahOb0q37zUqOL92p3ZkhXZRqZoxZzp4yhjjZcx6VGyPeTsdg16ZEKOSItt2SvEw7hgo 3U2O8SABMjFHZ4riYoTHJ2BvtukQ2fItBTNfojgCW4ulr6nwsIpdn6or2dROpOhjA/oe 2alio1rl/R6mkWemyj3LqyJnWXZVYYoKH+sdqDoEKbGmWVGtiDB8Dz21Ijh43D3vTBA8 4Hz8vSFet3ViPCgYkJS7eEK8noRLahjIMymSI9+yhEy7IqugKMPjyub2Z23GP6UVDtOb Mq8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZPvBol2+dZVmET7SGKUGwgcHXLxrVLwmpdEKgWieDx0=; b=lL1nUuHXdiZQRloDqs3lCIc+J1xHbrrrif3T9zd9v9Vk6Jaz6UB3fhIHooHAQ/1mZr UfzABPfeVnp7XyYb/JEWJSLUTFcnBtu3oUGBecNU5XK63vYnni8vZSbKGKmD9hYdhl+n TwTVfk7vrkQb8pO/Re71005Q44tfXSWx1DZj8cW2rZ6YfE4NMMYbUxNI0Nxuv+8VS9AE dqkf51jMZ7EgFUjTTaoJqVLdtka3Jldj/1bueKiHhJlZ/kwvFeGcSaOUJQHDkdjOUq2z +I4tSbMy8OyTLirEd86DTIxROJj7573GuKoVSHnocC/I/Dp5i7n1+Tzky1vsA3s+FJug YCSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Hp/cR2Sa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si7276566pge.12.2019.03.17.11.04.02; Sun, 17 Mar 2019 11:04:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Hp/cR2Sa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfCQSCn (ORCPT + 99 others); Sun, 17 Mar 2019 14:02:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:49500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfCQSCm (ORCPT ); Sun, 17 Mar 2019 14:02:42 -0400 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 258132184C for ; Sun, 17 Mar 2019 18:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552845761; bh=7Rt+DYkpkJqsM62CnnphOofF69PexMk0RNGpf5ISyOI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Hp/cR2SaceewV62YbbywZQo7iEp8zktViiBg/rRtsFcAwPoVfKD1UzXd5QBdy6e9X YYlrJoKnCNYDU/uKU+8YrNa3QY9bRDiR2nc4pOQirXG6GOq9ab3xfL0yotl2n8K63Z vV8Lh4SgQ+i3AobsIwvt3bs0u474PuGwT/MJ8XdU= Received: by mail-wr1-f44.google.com with SMTP id t5so14568575wri.7 for ; Sun, 17 Mar 2019 11:02:41 -0700 (PDT) X-Gm-Message-State: APjAAAVwBG5E/PZwZI2jIgtzGYt4hZtgWoc5jZjlK+dHBs1vqjCneU40 wuhXVRld5uSIC9thMbO0j1hX/T4LHEBsq0dJP1A= X-Received: by 2002:adf:ec41:: with SMTP id w1mr9794663wrn.184.1552845759641; Sun, 17 Mar 2019 11:02:39 -0700 (PDT) MIME-Version: 1.0 References: <20190317084443.158913-1-armax@google.com> In-Reply-To: <20190317084443.158913-1-armax@google.com> From: Sean Wang Date: Sun, 17 Mar 2019 11:02:28 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dma: mediatek: addres minor style issues flagged by clang-format. To: Armando Miraglia Cc: Matthias Brugger , Neil Brown , devel@driverdev.osuosl.org, jbi.octave@gmail.com, gustavo@embeddedor.com, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, sergio.paracuellos@gmail.com, Armando Miraglia , linux-mediatek@lists.infradead.org, bhanusreemahesh@gmail.com, christian@lkamp.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 17, 2019 at 1:45 AM Armando Miraglia wrote: > > Running clang-format on mtk-hsdma.c I noticed that few lines would not > need to be wrapped, since they fit 80 columns. This change changes such > lines to better fit the style-guide. > > Signed-off-by: Armando Miraglia > --- > drivers/staging/mt7621-dma/mtk-hsdma.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c > index 97571f1d697b..74c374f7bef4 100644 > --- a/drivers/staging/mt7621-dma/mtk-hsdma.c > +++ b/drivers/staging/mt7621-dma/mtk-hsdma.c > @@ -264,8 +264,7 @@ static void mtk_hsdma_reset(struct mtk_hsdam_engine *hsdma, > /* init desc value */ > for (i = 0; i < HSDMA_DESCS_NUM; i++) { > chan->tx_ring[i].addr0 = 0; > - chan->tx_ring[i].flags = HSDMA_DESC_LS0 | > - HSDMA_DESC_DONE; > + chan->tx_ring[i].flags = HSDMA_DESC_LS0 | HSDMA_DESC_DONE; > } > for (i = 0; i < HSDMA_DESCS_NUM; i++) { > chan->rx_ring[i].addr0 = 0; > @@ -435,8 +434,7 @@ static irqreturn_t mtk_hsdma_irq(int irq, void *devid) > if (likely(status & HSDMA_INT_RX_Q0)) > tasklet_schedule(&hsdma->task); > else > - dev_dbg(hsdma->ddev.dev, "unhandle irq status %08x\n", > - status); > + dev_dbg(hsdma->ddev.dev, "unhandle irq status %08x\n", status); > /* clean intr bits */ > mtk_hsdma_write(hsdma, HSDMA_REG_INT_STATUS, status); > Acked-by: Sean Wang > -- > 2.21.0.360.g471c308f928-goog > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek