Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5909294ybg; Tue, 22 Oct 2019 10:06:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUmqZPRjJgsEiuJRHrppB87Zn42ZCyfTmfeS43CVIOCYSX68hPA0sfMbJmLSEOnQi4ONHO X-Received: by 2002:a50:935d:: with SMTP id n29mr2878366eda.167.1571764016480; Tue, 22 Oct 2019 10:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571764016; cv=none; d=google.com; s=arc-20160816; b=EpoNDrHy0YGPcSLP1w5ugnwu32FpMEw3gr5zL7SsgZ8xay2CbBLzKzyGwJ7fF79ZYR PokurlrYa09lbfYmx0OzfXgoL0SNxsFwPxoFl0FO6zOnEtJbxgOTsUiG093m+VbF5kAc 4ppiWUA9pgrB00ot/w0SRY7N5LqgtHilvnU0FPPpuUPvuTWTZUHQU7ZJtmniWBXCdX5J dAj9neytkkRhyL76wjYtX5I3IVeJHO1C9zTjgpYkiM9sAMfl3rSgifNuC2bWoZFaI6nO 2pnPAqQMGa4bgUhFDauGNNTW1NqvMxwZSa6g6XQREk1+4DsCJxt8XKAAPDSmNTsAT75b 3e6Q== 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=BhtC62v3n6zmy08FKulqslkQbjt/OC56JJA6sqKbbEI=; b=FcJ/ysSKtjRDmcEGe4NhJmp7xAAKQn/a4gt6diUKHwoKpiD/x3gnV3vFpKrJsl2SZD 2s2XuuExzafV5FvfhHlbmPPwufDwJ9BAQRxK7mqIWwC7P/tXrSlnQYkuD0Z1zqd6kn5m kdXURWKh35DVGCyoAFjSUloo4RZ5HckNtxCnL0ly5Q7DmOlVQXlnkrHb7pSF8sTXxomU hLKEpHWsi183yRF4dXl36Rn+St1raMZHbAQojV1F34GOThjN03vrzaNaXJNnCnh8oC0H uqx1irL/rNzzVxA+xAluBRGWQBoWK03y7D7Wl78oR/5jX33ONVY5gqNMgqLE2r4RSFHW 6sLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UcYTz4a7; 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 f2si10810480ejq.395.2019.10.22.10.06.30; Tue, 22 Oct 2019 10:06:56 -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=@gmail.com header.s=20161025 header.b=UcYTz4a7; 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 S2388911AbfJVPx6 (ORCPT + 99 others); Tue, 22 Oct 2019 11:53:58 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38221 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388866AbfJVPx6 (ORCPT ); Tue, 22 Oct 2019 11:53:58 -0400 Received: by mail-lj1-f193.google.com with SMTP id q78so2627604lje.5 for ; Tue, 22 Oct 2019 08:53:56 -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=BhtC62v3n6zmy08FKulqslkQbjt/OC56JJA6sqKbbEI=; b=UcYTz4a7WI8YJuFZ85FxcekxfaPXLr7TxsJ2U6KWML5x+HxuEl2IvCvKhALdV3vz/S iSXd9yW+BB/SRFFZO2moBPElSPog8UZfyOYp/+a30LMJEWBpMaxU5Xq9PcLjK/ol0fY1 VmRkXk6iYklRWmO5pNt9bgmgzaL8I9njwDTEZgaQmEUV8xiMCGTQNoaTVO/Udd2lCga4 NJH6KxJyXm42dj8KjH+XBPxv5NxF0a2WlJywFVd4q7ztJrC5xV9xfXfGFKKrr66FgMSM x8w4TyqkvdtyLq3TlHmWDkI6UEjblKeTOCGZ9az8QUsLKez0b9G5miqI6gjHN4gIPmzq iJ2w== 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=BhtC62v3n6zmy08FKulqslkQbjt/OC56JJA6sqKbbEI=; b=jBktcsLG5GTirp5shqXj5pqo36KJXqjVDx8A24Y2Xzq0/2o7ODWSNFwDpzix3aXLmM PMdPTwr6bunZXKtSzFF1ZdbnfUNKXboaKHAManFQhd9EdFlfiw3CKfkIuCYHR74Nemc3 bAa21kQxRsqiwwFyI1d9DBpDqXTapniMEcOYbDbQUJSU/hcqXIErInepWpBqq/EFF9tA lHe3Soxsk6S/4AFt9YREvojY25J8to1y0aGTTRfYg1ia7kNmkMZRfGqL9nw85eZKlEPh ojbAa3n6zykdbGzzyBIVvNnz0vtIhLpifB/fPn/a/tZvjndQ3lE1rDwXN9tkkbR0UyCJ gWqw== X-Gm-Message-State: APjAAAVwBnQ/9K9j4E6ViulcpsH7fB2YPWDesVvopXGjGctBMXvylFF2 lx4NyVvpiGYaSaajPNE5w0Ta8ZKZeyoWrAe1PrY= X-Received: by 2002:a2e:8417:: with SMTP id z23mr19232916ljg.46.1571759635304; Tue, 22 Oct 2019 08:53:55 -0700 (PDT) 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: <87imohf6rf.fsf@intel.com> From: Patrik Jakobsson Date: Tue, 22 Oct 2019 17:53:44 +0200 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 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 > > 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