Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1382868pxb; Wed, 10 Feb 2021 07:14:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXHNAExp81IQxr6qqlHQkKklkdIH1f3Y5ipcEQarMeaGa11hHUHsj51d8d38KdsNmJdlta X-Received: by 2002:a17:906:b4a:: with SMTP id v10mr3302500ejg.382.1612970046305; Wed, 10 Feb 2021 07:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612970046; cv=none; d=google.com; s=arc-20160816; b=s13WakOeSqDTqFRqy5Y4ufPwqZ4vKIHaikEx5Mk0rmfsNKfVk21eAeXI70KKaYg9g1 jxGCc3qg6jl7l+ri9XdGGGnJfnlkCS7TIBAyzIYJJF4JMP9Bj9u4Ys1GZLfAJgDu381Z I98dhLjzPgjb5BxJ2CWZdzxedCAuZ/56CMGERumlpSazrOfnxc/Lso0rWcIeen9uYRri Zkdg6iFBpxDnKBpkRUdWgI21ajBQyJGIHtqUCMkhrmYtg3jU6SojDkRIZSlDVInqmqp3 yNKLQCRR9lluXZA/ANxAOvDQnDx/YEvJJ0sHmieNWcFO9Vty4YSVcihgEsbLJlnm384w A20A== 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=Y52xYdXMZfUlFSmwQfs8ZsaG7Eh7lT8/RpmJs3tssS4=; b=0mt0Y6ILnWf87CG/EexK8nGdsmeuqiaeH1m0pxZ34D9U46nYAhTM9YoXHPZHpCA6Ua sdG+df/EO+7UsPEUKxGHO+khk9PxIG13CxrhzWvR82a/TZcCc06ETfVbKfEQFFFy3A0W py3t2H1OgAo7Ug0LFH7ck3+traxPkmzcJ8XFtO+tC30Kwaribjf/5uAEPcPLDCc6hySz 91wL3aVVV1Jt+7vrsS9+3/Un2+g0A4b6+wFt+8qezDaxCh0H4QC2tL6FDpbtuDbnWh6Q +NtCR/l4ifxEi7TgFtVXgr0cgVCzRi0UzyejOiZlxGqjhTGKQQrXhIth9rLxsKe0zaC/ ZaIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JdBtByfh; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si1453667ejg.243.2021.02.10.07.13.41; Wed, 10 Feb 2021 07:14:06 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=JdBtByfh; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231596AbhBJPMS (ORCPT + 99 others); Wed, 10 Feb 2021 10:12:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:45134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229888AbhBJPMP (ORCPT ); Wed, 10 Feb 2021 10:12:15 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CF2D364E8A; Wed, 10 Feb 2021 15:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612969894; bh=hPXyaQSE16HS4JjkXDjB+KDzgBNn+pb7fdb5Az3QmIQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JdBtByfhY5z2xzcHBsPMzh/Y7zogtHZws7c+QoiG4ExOuP/PqU8H6T5EVRnw0nMiu eldOEwRHFkh91TIZwmomWGOr1c3v4I4fnQLixDLgDu77i3kS+NVNe4ZRnH1iGCuh4J cPNfnVThCPiy9HNSnIwsG+U/qJwiYBZmwrmuM7zb4sVUAV/g3/qEfYsRgex4NAHfxd pW6dbjpG7H/OD3fJSw8qyW12izVQpdfPafYHEbuEwEZBcXwV5vWZnnXhNI2FDnkl5W rS3bhw5qn68yi7ZUucDgJn5ImAkJ+WUBmaWci7ECV1aOuwl9aCQ6pE0vaq+/sjIwlC JrGf54GnMSpqg== Received: by mail-ot1-f49.google.com with SMTP id 100so2086243otg.3; Wed, 10 Feb 2021 07:11:34 -0800 (PST) X-Gm-Message-State: AOAM533OeFFV769PMOSsF4lAIx6LoVjOlRNmi6yegyghs0bp+u0xp4Vu QksV/8KKqzor7WiImuFhtY01xgYAs6F6r2B3ifo= X-Received: by 2002:a05:6830:18e6:: with SMTP id d6mr2448540otf.251.1612969894126; Wed, 10 Feb 2021 07:11:34 -0800 (PST) MIME-Version: 1.0 References: <20210210141140.1506212-1-geert+renesas@glider.be> <20210210141140.1506212-4-geert+renesas@glider.be> In-Reply-To: <20210210141140.1506212-4-geert+renesas@glider.be> From: Arnd Bergmann Date: Wed, 10 Feb 2021 16:11:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/4] asm-generic: div64: Remove always-true __div64_const32_is_OK() To: Geert Uytterhoeven Cc: Russell King , Michal Simek , Arnd Bergmann , Linux ARM , linux-arch , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 3:11 PM Geert Uytterhoeven wrote: > > Since commit cafa0010cd51fb71 ("Raise the minimum required gcc version > to 4.6"), the kernel can no longer be compiled using gcc-3. > Hence __div64_const32_is_OK() is always true, and the corresponding > check can thus be removed. > > While at it, remove the whitespace error that hurts my eyes, and add the > missing curly braces for the final else statement, as per coding style. > > Signed-off-by: Geert Uytterhoeven > --- > include/asm-generic/div64.h | 14 ++++---------- Acked-by: Arnd Bergmann