Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp590017rwb; Tue, 25 Jul 2023 22:39:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlE2UBrgDibF31q9GaNEATACYw3CRNEmt7RkpRFpk22/mVkOSBnuDLNyenZgC4sADEaAE92p X-Received: by 2002:a17:902:b481:b0:1bb:bbd4:aadf with SMTP id y1-20020a170902b48100b001bbbbd4aadfmr1001419plr.61.1690349969785; Tue, 25 Jul 2023 22:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690349969; cv=none; d=google.com; s=arc-20160816; b=A9hoIO1bmaQEHGLxPkoX3YHSGmz/06QMSsFdCjwWylG6w9YjuVQLLOSoV1n9jU5pcw 86iwg4eL1xKP6TO6GI40SmnlRUbdLzfvjhKfjSPqqdDkwEMEKfOYKPgVH1uhAffvYLKx QAXzp6kfuY2hrJi5WF8ZWOZs0T4vdYMqUrH2BCs9FngT2KmZNd3o0Jni9nbRbf3sUHNy lmkq/soGBjhoZEyLnGYh3vlqw7W5l8zaPMB3zIjo5ASYBQYVwUYViSWAK0loc3ACzaZr 7U83GY5fDT9CCtbDEAAEL4dMPTB+c1Sw+iSVpYFe/svGPUhOc3HQOQLepxRCv4bJ6GT1 mfMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8VSCNiqtjM63gyIxgjIBJEUZn4+F4fATzLK2EYdkNIY=; fh=TkmOxxur4GNwlgvuGQWtOqTKHBzw5oABvAWPcSXd7c8=; b=h2Mt6Lyb+nMi9KjJub5CygDGUN1gqFua91ku0ppVGfpVRJjB4dmqUVVJKCt5/xYlHR 69lyywyQdtLpL/vNRvDuMScxlDXt8kTp5ZvWQ7O81cHO3WYeNSui0YhDL66GsQi24MnC yPrbp8KTxaeHRrTcNiU32haZK/p4/3VWWxqM33ntmYEwWTogy2i8QembginpNPG000ln r+m5p/vJfNxxLFMAJSuHYJgNa+hCjJjLZ0YCCIbEIbKaqnq85VIab3GbMV5xpMYBF33I ErW9dVRnlraSpxzBIKL96KsxJB1FuNKMc9OCUkMP05RLs0psgG93uoof1zl6pv/oGdrs Ke6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KAne/S+r"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170902684100b001b8a5cec6e4si11925667pln.251.2023.07.25.22.39.16; Tue, 25 Jul 2023 22:39:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KAne/S+r"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbjGZE64 (ORCPT + 99 others); Wed, 26 Jul 2023 00:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjGZE6y (ORCPT ); Wed, 26 Jul 2023 00:58:54 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD2B211C for ; Tue, 25 Jul 2023 21:58:48 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fbc5d5742eso62829615e9.3 for ; Tue, 25 Jul 2023 21:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690347527; x=1690952327; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8VSCNiqtjM63gyIxgjIBJEUZn4+F4fATzLK2EYdkNIY=; b=KAne/S+rw2HDnpOYoq0XxAAGGDmFqVEL+4b4QaJcz22Motczt/sEQi9P3+LqtencG5 gffk18N2un8Un3gVDBbLDRJCSvj/U8kQRXbeQ3sQi+huU3lOUDhkEacR32UfE0BX4PXh R5/AZ6BiObX/u6qK7p5VAxfARPx+dYhRpdGh8YMNmi7dfD3cWvKAT9kHjYSnEJ5f8VY9 O4DK8ND7BY98sdM+l45wVaQtDojEafUaGFQgGsLdy7qT7doz5fcB77x8RhaQWCvIVbYf 16flgyVtRYvWqtls+t8zRp/16OIRitE9lb7iBK7d3/SPlHxDXZmPwzdX6fReubLyHpoC 4YXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690347527; x=1690952327; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8VSCNiqtjM63gyIxgjIBJEUZn4+F4fATzLK2EYdkNIY=; b=GfkOKehzXZwThofUOfVEhdJo+D2N+jhzFfjXSewVeDAcukDdrZVyXVY1CxflDFrvvf qndWBNU+LIKQ+xEm7evkGEVkKba24KVU0xS5fKve4lXgDa8DITK4/yQ5A5c/xZqjoOSQ kboMVM9Vi8doKTfbzPTa+khqza6XBk93PZp0t6v1pckW3SIIcWsAIEI/b7Lz55Qmapzm UIT6LvcFM66kTorVpf0gUOVhZc4XakVKDBqgt4ba2QjFz+b1R1+2rJxpz+LD+3knH38v fyNjun3+vy1EmRK5TKmS5zKFTgxwpwKX+6eOEMXqm/5wQ/MZudC3xbC6jv33wY3CWKyl yuyA== X-Gm-Message-State: ABy/qLYOMHt6eG7hcVPij9SZcyJwMvJAvWvg36n0HvEbMri77yU/WeWt tjAL1lS0Gnmt+kTNKIK/bY4vBg== X-Received: by 2002:adf:e3c5:0:b0:317:5d1c:9719 with SMTP id k5-20020adfe3c5000000b003175d1c9719mr515001wrm.9.1690347527148; Tue, 25 Jul 2023 21:58:47 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id h10-20020a5d6e0a000000b003141e9e2f81sm18453128wrz.4.2023.07.25.21.58.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 21:58:46 -0700 (PDT) Date: Wed, 26 Jul 2023 07:58:44 +0300 From: Dan Carpenter To: Su Hui Cc: Andi Shyti , jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tvrtko.ursulin@linux.intel.com, airlied@gmail.com, daniel@ffwll.ch, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, andrzej.hajda@intel.com, intel-gfx@lists.freedesktop.org, llvm@lists.linux.dev, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, mripard@kernel.org Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/tv: avoid possible division by zero Message-ID: References: <5d096bcf-c394-4dad-b307-3d7e33ab6e6f@kadam.mountain> <630b9f2e-00e8-5b54-ad1c-3e4d404454a1@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <630b9f2e-00e8-5b54-ad1c-3e4d404454a1@nfschina.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 26, 2023 at 09:21:50AM +0800, Su Hui wrote: > On 2023/7/25 13:51, Dan Carpenter wrote: > > The reason why the first five attempts had bugs is because we are > > trying to write it in the most complicated way possible, shifting by > > logical not what? > Wonderful! Should I add your name as signed-of-by? Sure. Or you can put it as a Suggested-by. regards, dan carpenter