Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp921182pxb; Thu, 15 Apr 2021 09:30:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB7tzEQ5nl7qyXUeTvrCCjIIOeJW6DcQl/IhsFndJ7lbg4ysb+ivrp/uoPIcR+yp3f7UVl X-Received: by 2002:a17:906:4746:: with SMTP id j6mr4374578ejs.39.1618504229876; Thu, 15 Apr 2021 09:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618504229; cv=none; d=google.com; s=arc-20160816; b=X/7GP50Byp0WIXNavs7h2/GKkonpi9JpKCzgkpie9Ir8YDZvwELPfBbQplm1sZFrwH 34Hv5cc30+aGZQJ4npCUrwerjhoR+Jv5PCGgUnmqeiTfiAejNiKZiykBo5+jUgFsFfEj 1N09HhPtFO0/j4Ye/3bTN+5pxtHYpUk7QubNWjo3Fub4H75I7egMi6bWHWD1/vKWucLt /9Zz8g5049hzKIDXBt5NLE4BgjkChg6Z54NeyacXqS4QEFD6e1iba1ZuZYz+j4KZbVhP fG+AUrktkTChxmzFWVwgAuTYOfdQpf7gow4u2Zl8U1YnYiLseR+3nl/ek5FxCKIDZUB0 +g/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Sv8ShlWCFYrRvkMTcwOZXNbuS9oUEdPA5USpJjouThE=; b=i7hodoFV7Pfy6/wNTlUlMDBgXg4Rez2tqRuVUz85Ena+zuSPiRTHp5mUkV+f9Kkfod zdj4VnymNRGLwpcFK8JTxQTy9SxFzWSqzs2PKbVLV+VvfVpVeLkV9JR1W6XmOv810jkq ceRstm/HRQ5kj4CuQc/LlJ/MUD7Gb1vRJQybRBQxQIDtgpmfPUHmizL1Pp7y/lFAf/Wo /Q6CUZkJWqzYpwDo9NCn6d+ott0jE/67dLftA3+QiQbK1JmVahIJNGFdeOy+pGGyaBzo 0n493Ve2u2CE7lfXhJ6AsqnvYuPnqjsngyV3hwjgERY54EhiZI9NRATtiAPYiv/ZWOuT 4sgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FOOM/KGf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si2504486ejk.730.2021.04.15.09.29.57; Thu, 15 Apr 2021 09:30:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FOOM/KGf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233134AbhDOQ2R (ORCPT + 99 others); Thu, 15 Apr 2021 12:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232759AbhDOQ2R (ORCPT ); Thu, 15 Apr 2021 12:28:17 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B596AC061574 for ; Thu, 15 Apr 2021 09:27:52 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id w21-20020a9d63950000b02901ce7b8c45b4so23087698otk.5 for ; Thu, 15 Apr 2021 09:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Sv8ShlWCFYrRvkMTcwOZXNbuS9oUEdPA5USpJjouThE=; b=FOOM/KGf5hmW0LDCmdb7lpl3uQgy3UEwO5PjMunL+/tdyf8NWyML93As/uk5No4kVh 3/iXatPA+uyl4WU4kwgTde2JNYOYaA2k8gyZG2KwJVXV4KAOnN5NjCCyWeTP+Ud0ZITN pE6MFRRf6HPHNAGmDLKh/JT3gm5Bi/4d3N+KLC/ChSptzig+a2yUe7WQn8hzzu+KkUSM JkJ6fdVOKnXn7dV07WRwH2ec7QWF5jouXuqqnUvEmpY+rbfm+Kf+mD9md/PoGFXfD6BE K/n8ukXWUAe7R+IA3uMA3HQyoBCZYyU6u9t8uq7UYz9Zbeaw9uwsADCmwN+TckTsGJRV 4RVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sv8ShlWCFYrRvkMTcwOZXNbuS9oUEdPA5USpJjouThE=; b=aia1EvF4LwmKdauo01f5Vlf5U/BYaLk/G0HR4M6iuDpk+AlxLaJqz4Hos5ojGeHMDv yoILK6kKRG7+14+/34Cmp3h54SYrPv1V774jaWMHiA/OP2tzhunT+x09NPwQTHSbApHZ oSBSvwiRD4zuB71dN4tqAqWdxPkpjRBu/233oIkX33Q4OQ/VH5ZPpT/sgydc0ma3aSR6 pHdHbW/hnDpyZGEqjIfxjtF+wMdYzm2gnsDWEEqwJCKu4e6Tbhz6mlV/UezPW7LJ/qWi opWOSkuVKcXAvbdbNtdXqboeDDegzCoH98TFPg6tHedYHEq6XppNS0u9UXkyyyu6UNAU 8RcQ== X-Gm-Message-State: AOAM531qe2M3XMJWlpMIh7cosTdVU7Ox0JIp1rb74rtgnObMnv2jvYP9 nFFfS64XyRk9m8upC+8cDPRa+imKAjCXH9NdAXgKuBcPXVmBWA== X-Received: by 2002:a05:6830:1697:: with SMTP id k23mr115526otr.132.1618504072201; Thu, 15 Apr 2021 09:27:52 -0700 (PDT) MIME-Version: 1.0 References: <1618479020-38198-1-git-send-email-yang.lee@linux.alibaba.com> In-Reply-To: <1618479020-38198-1-git-send-email-yang.lee@linux.alibaba.com> From: Alex Deucher Date: Thu, 15 Apr 2021 12:27:41 -0400 Message-ID: Subject: Re: [PATCH] drm/radeon/si: Fix inconsistent indenting To: Yang Li Cc: "Deucher, Alexander" , Dave Airlie , LKML , Maling list - DRI developers , amd-gfx list , Christian Koenig Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Thu, Apr 15, 2021 at 5:30 AM Yang Li wrote: > > Kernel test robot throws below warning -> > > smatch warnings: > drivers/gpu/drm/radeon/si.c:4514 si_vm_packet3_cp_dma_check() warn: > inconsistent indenting > > Fixed the inconsistent indenting. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/gpu/drm/radeon/si.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c > index 88731b79..d0e94b1 100644 > --- a/drivers/gpu/drm/radeon/si.c > +++ b/drivers/gpu/drm/radeon/si.c > @@ -4511,7 +4511,7 @@ static int si_vm_packet3_cp_dma_check(u32 *ib, u32 idx) > } else { > for (i = 0; i < (command & 0x1fffff); i++) { > reg = start_reg + (4 * i); > - if (!si_vm_reg_valid(reg)) { > + if (!si_vm_reg_valid(reg)) { > DRM_ERROR("CP DMA Bad DST register\n"); > return -EINVAL; > } > -- > 1.8.3.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel