Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5411465ybg; Tue, 22 Oct 2019 02:52:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTdCmIciOksgQERuc7k6eOcK55eZhiahEN4BEL7C9XwYbXnPuxLJDCb+Nw8kB5HBKP3PGR X-Received: by 2002:a17:906:6a54:: with SMTP id n20mr26674041ejs.30.1571737973847; Tue, 22 Oct 2019 02:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571737973; cv=none; d=google.com; s=arc-20160816; b=ZG/Sy5fIEN/tagff+RktvWura/nzarO4vb26rvuszu45If59gMy9vVvF+Q/YCbhYpv HS7J3CW4QxBWQakEv382UDVIHrebiWNb/qexHp4dw1NbxdQfvEg0SpTaj7i/lM7h9wys bxULusLqxCCQfP6tqwls/8WsaV0LmZMcONyDZtTIlPOUAR0Sv5ySQ7hGCpsA4mT8dMqr CWM0RNf5fwFScPLaO+zE+kvA8hvxK3bttj809IBk5+Ezwe+Ku4z90wPO3mrOPe7zM0zH 2szZhQb9oyjlYRPb56fDPbYeUtak1b6giJqxOtV+g0mdJMZGOXbGjkZJhlDBzOIrWi5w BhvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=owigh/pOl1UiMpPQKCW8ukWFAfdy4dpKEeMptqxH2nY=; b=x8HF7KKKWJDzdLy7nOxrQHP+fNRPjS1Sm/SxDjmpum0kuWxwBh0l3I2Nb4EZAFAKlB gyxk67F186rvuTfBbfGz0TbvoeKWDt001RlL6M9n/zP9MpWXS/NL+jZyo+CCynTEaC/x yJr3e96JEC/OOK3HhsRWy23eH3yd0grqFstRXZ64p2Yy/lY/U6pKuPfvmsZZ3gPYADOR g7WdiMFRaLu1C5jj+ALi/z+4b8bi5rwMaI8Mkg8EMx6MBqvNBWvgaer1FJvl+JoMwkJA r68ahH0+S3Yk/XJrs2VSjkw8KVC9Pc6pXoNOAyEfufhqMeL5lBNxZOHifgm8OPlaTERw PHVg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si1208044eju.197.2019.10.22.02.52.30; Tue, 22 Oct 2019 02:52:53 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731596AbfJVJvG (ORCPT + 99 others); Tue, 22 Oct 2019 05:51:06 -0400 Received: from mga02.intel.com ([134.134.136.20]:65480 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728182AbfJVJvG (ORCPT ); Tue, 22 Oct 2019 05:51:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2019 02:51:05 -0700 X-IronPort-AV: E=Sophos;i="5.67,326,1566889200"; d="scan'208";a="191410043" Received: from jnikula-mobl3.fi.intel.com (HELO localhost) ([10.237.66.161]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2019 02:51:03 -0700 From: Jani Nikula To: Thierry Reding Cc: Patrik Jakobsson , dri-devel@lists.freedesktop.org, Thierry Reding , David Airlie , Sean Paul , linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/scdc: Fix typo in bit definition of SCDC_STATUS_FLAGS In-Reply-To: <20191022084423.GB1531961@ulmo> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20191016123342.19119-1-patrik.r.jakobsson@gmail.com> <87lftdfb4c.fsf@intel.com> <20191022084423.GB1531961@ulmo> Date: Tue, 22 Oct 2019 12:51:00 +0300 Message-ID: <87imohf6rf.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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