Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4182825ybx; Mon, 4 Nov 2019 09:06:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyla8wKRLDBf6s5oYoLwze5JHKFkZHhe+SX/NbnHCfikMBu/mHh7KBuyrUY37muXor4Pqb8 X-Received: by 2002:a17:906:7f94:: with SMTP id f20mr25428459ejr.333.1572887200105; Mon, 04 Nov 2019 09:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572887200; cv=none; d=google.com; s=arc-20160816; b=u+Vjz/sCQ9QCnErADTBmW9wFib3ZJaboI5MzPdCUrMb3BA+dId8ontCP7YndG+J8tP jMloidEN0Hxdi1GCIwfPo/X8gaBkmCWAxXW/UBkkqHn6ocOkGPutgEMIFUzsyi2KwXwk nNaTuplZxYG07DBv93zOmm5yQ7s6PgCAZIVruXn7lYqe4mo90Zui66pDREQIsRx9d1js 6uI31bcwLPwqLwETTq4qPH1AujPLDbG84QughLXUyPvmwy/X9JyTaZPFvGOJnXfYfzIe 8YbAlyNNZ9WjJfLnTWnV3TsZHrpJUcmlXYscbDVY7WJSJOu3qOZ1Tsp2O08ycBD0Qqf4 /7Lg== 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=4qJiFRAU1ANgQBEoCGJorJXFwWND9KhJu4ptLqqShZY=; b=VuVfD+eKzssOnR8zt2yHkirNI9HmF0N6qgwpHy0qznx/N1f47umzFKb/d9eOXpmm8/ EJb8mSDaLKfM8Qe816MmJbO/EZaSWAYZ7XYsdgoBwqWdvbNCJF/GGfd48REqV3VdAHJt 47WCzAfL5WI6AFSiNbF2sTiEJnRBTb//xmFMhPLjDFvMJUhTIeEaX3HsTLbdwPavm4O1 WzAdf34tvOz76tcketbC6cjwoHspVSKuYqvDdMHPnMya88c3cjJYnL/rk2e/f34bgiDC r8wncOGgvbwGup48dPgFmHGeRj4cMtT+Bz1cdHva+lhoXwCL/P8X17VqGiWNGMR4x1mj MmCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=geeqURtu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24si7937882eda.162.2019.11.04.09.06.13; Mon, 04 Nov 2019 09:06:40 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=geeqURtu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728898AbfKDRFf (ORCPT + 99 others); Mon, 4 Nov 2019 12:05:35 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:41749 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbfKDRFf (ORCPT ); Mon, 4 Nov 2019 12:05:35 -0500 Received: by mail-lj1-f196.google.com with SMTP id m9so18445792ljh.8 for ; Mon, 04 Nov 2019 09:05:32 -0800 (PST) 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=4qJiFRAU1ANgQBEoCGJorJXFwWND9KhJu4ptLqqShZY=; b=geeqURtuQ0iMZyZU2JHAx0IIgyNxihwJ/tz8LlMhNGKscQrPvXfVI8M1H/YMxQWlFT qF16TQZ6/ZmOk8D9ptBrhEfRY5oamsNqOKOni0Gs51K/BAbboo/7TXPH9ivalonLHLUf DUEm+AD37BwvxAT03Aa2Po2MXd0Rerh4qM+7/4IYIv/6zP/OrZsfVnmUuWTwTeD/MgGu siSUtozk/md7BLOwWuE1gpANrNX2/T6ZV5bYQC7F04frd7IH/HozwBNqMkfvhYfYBANf ckkDHSv+dNqQAFmUDUIq9zbRBZFTjTtBWOtVzV/XQe5btPcwmCDS2RIL9zeX8C2Rg6Wl q3Rw== 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=4qJiFRAU1ANgQBEoCGJorJXFwWND9KhJu4ptLqqShZY=; b=BDmN4mt0dHNke7UjHBYbqPq7fuyds+gche2/8x4/3Ubf6+mob8SREFdMSKbr+ziWkg mvjAY8BkyIhLSbH035fVMwBzhhONwoPisVnFpLQYexAzoTasZzOZpc7PV4+Vb4wA4xgG 1RbVldCo4T606g2sjzBGjMSUacEct9V0U5n0QBio0fxJ2omEtuitsiY5BGZL13qQZVih owdY8B2iNoabp7xIRAGn+agu05BjkaKimkXifA+rQ8bNqAb2xoQ3lOwiareR3O8VbL5Q jCMaEknB7h28ULC3A+wRDTLjlP/HpqF9i4yFy3zqo8kiqBG+s75W4Z6UJVC2fYCmyXyt 8qnQ== X-Gm-Message-State: APjAAAVS0RGmlIsm40vkFUxeUAYxOCgIeGxugf410klDTZ68nIeoumxy 1xks3DSk4cFuU3dnXeEwaz+m6tDl70ckdFyLDoQ= X-Received: by 2002:a2e:9e45:: with SMTP id g5mr2776409ljk.58.1572887131574; Mon, 04 Nov 2019 09:05:31 -0800 (PST) MIME-Version: 1.0 References: <20191016123342.19119-1-patrik.r.jakobsson@gmail.com> <87lftdfb4c.fsf@intel.com> <20191022084423.GB1531961@ulmo> <87imohf6rf.fsf@intel.com> In-Reply-To: From: Patrik Jakobsson Date: Mon, 4 Nov 2019 18:05:20 +0100 Message-ID: Subject: Re: [PATCH] drm/scdc: Fix typo in bit definition of SCDC_STATUS_FLAGS To: Jani Nikula Cc: Thierry Reding , dri-devel , Thierry Reding , David Airlie , Sean Paul , linux-kernel 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 Tue, Oct 22, 2019 at 5:53 PM Patrik Jakobsson wrote: > > On Tue, Oct 22, 2019 at 11:51 AM Jani Nikula > wrote: > > > > On Tue, 22 Oct 2019, Thierry Reding wrote: > > > On Tue, Oct 22, 2019 at 11:16:51AM +0300, Jani Nikula wrote: > > >> On Wed, 16 Oct 2019, Patrik Jakobsson wrote: > > >> > Fix typo where bits got compared (x < y) instead of shifted (x << y). > > >> > > >> Fixes: 3ad33ae2bc80 ("drm: Add SCDC helpers") > > >> Cc: Thierry Reding > > > > > > I'm not sure we really need the Fixes: tag here. These defines aren't > > > used anywhere, so technically there's no bug. > > > > Yeah well, I just logged it here as I happened to do the drive-by git > > blame. > > I think we can skip the fixes tag here. Thanks for review! > > Did anyone apply this or can I take it through drm-misc-next? > > -Patrik Applied to drm-misc-next > > > > > BR, > > Jani. > > > > > > > > > > > > Thierry > > > > > >> > > >> > Signed-off-by: Patrik Jakobsson > > >> > --- > > >> > include/drm/drm_scdc_helper.h | 6 +++--- > > >> > 1 file changed, 3 insertions(+), 3 deletions(-) > > >> > > > >> > diff --git a/include/drm/drm_scdc_helper.h b/include/drm/drm_scdc_helper.h > > >> > index f92eb2094d6b..6a483533aae4 100644 > > >> > --- a/include/drm/drm_scdc_helper.h > > >> > +++ b/include/drm/drm_scdc_helper.h > > >> > @@ -50,9 +50,9 @@ > > >> > #define SCDC_READ_REQUEST_ENABLE (1 << 0) > > >> > > > >> > #define SCDC_STATUS_FLAGS_0 0x40 > > >> > -#define SCDC_CH2_LOCK (1 < 3) > > >> > -#define SCDC_CH1_LOCK (1 < 2) > > >> > -#define SCDC_CH0_LOCK (1 < 1) > > >> > +#define SCDC_CH2_LOCK (1 << 3) > > >> > +#define SCDC_CH1_LOCK (1 << 2) > > >> > +#define SCDC_CH0_LOCK (1 << 1) > > >> > #define SCDC_CH_LOCK_MASK (SCDC_CH2_LOCK | SCDC_CH1_LOCK | SCDC_CH0_LOCK) > > >> > #define SCDC_CLOCK_DETECT (1 << 0) > > >> > > >> -- > > >> Jani Nikula, Intel Open Source Graphics Center > > >> _______________________________________________ > > >> dri-devel mailing list > > >> dri-devel@lists.freedesktop.org > > >> https://lists.freedesktop.org/mailman/listinfo/dri-devel > > > > -- > > Jani Nikula, Intel Open Source Graphics Center