Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0C28C38142 for ; Tue, 31 Jan 2023 10:38:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231504AbjAaKi3 (ORCPT ); Tue, 31 Jan 2023 05:38:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbjAaKi1 (ORCPT ); Tue, 31 Jan 2023 05:38:27 -0500 Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900537EC1 for ; Tue, 31 Jan 2023 02:38:26 -0800 (PST) Received: by mail-ua1-x92a.google.com with SMTP id r12so2830685uaf.7 for ; Tue, 31 Jan 2023 02:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+FR83tVbeEjgy0Oli/8j0skm7nFq9FbEOCLhEuugDSs=; b=iPwvJeD3/p11kF8yQm7dA7l1EVnHenYYsiI9kgvUR9O9fzvF5c4qnNVYzdDhuxfV1m jnO8Zdx1d/OqnSgRdnALXjOe6dgV62gQdzs2xzJdsgpHfKdWtHGSZTaa161CiLgDA4u8 Ja5B7v8itoRQ/vyLlxry3k8Xk3TYHnqBThLY8xdrNRV+DGiQxKVXd5dPiZODRTdwIl+4 I3R09u9fEPW2zK3Z3Zil9LYc/oIZSH3YNlgFKib38wCwsp+v29jTUUbvCqOwegR4u96p 8iib2zWZyLnl66bKwamVgC6fQlHT1rxuC3XZFfItd1UhWeSz/X5Bpnhy4LRy3UCStn3i /t0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+FR83tVbeEjgy0Oli/8j0skm7nFq9FbEOCLhEuugDSs=; b=kC3GVcqm+JFM2qhBjQgEJt076iZ+rv309Mp8RNgIZYzjeeoQjj+UZ+4MPXvtMv5Zd9 1ZR3WOvuSPIxdqObXhNKts9sXW1nX8FWmU9PophSiYNyt8rUnx9BfpOl2aVUNbp2ym4b llpNKvWxqQYfXxUbw3ta390pGjMrW3LvQr541CBL+qK1r1kdi+YX86PK6WFY61IE03PA Nr6874xLIuKrpAiETD1gC4HfYxH3FqBOYP3GYo2Crc1EtMUbLParuUbLK0GmOSLiU4do ixKWL+MJiX29Wy1uQEn2qxW8JkHZoRNuUkQC9mPZLghi8xnsUn4oWvaRgXKnZC4VKILk C45w== X-Gm-Message-State: AFqh2kow8m7MwdAUuSD/eQ0oaVzrAtWJJhL1wg+/2ZJ24+J1ipjoV6mX thcaiDYAghr36F4OoPUbPyqBGCIKndEJh1OOgYG2jw== X-Google-Smtp-Source: AMrXdXujsX2E+/qfekYVe5Lz/ZZ/t3PCFqnvxcy2/1V+Q6bxKEu1iYi8q+tAShzmpJoFrGBbN2ArTl8HwoeBnNFFXPU= X-Received: by 2002:ab0:31d0:0:b0:419:d115:2773 with SMTP id e16-20020ab031d0000000b00419d1152773mr6564727uan.29.1675161505619; Tue, 31 Jan 2023 02:38:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Potapenko Date: Tue, 31 Jan 2023 11:37:49 +0100 Message-ID: Subject: Re: [PATCH 07/18] lib/stackdepot: lower the indentation in stack_depot_init To: andrey.konovalov@linux.dev Cc: Marco Elver , Andrey Konovalov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 30, 2023 at 9:50 PM wrote: > > From: Andrey Konovalov > > stack_depot_init does most things inside an if check. Move them out and > use a goto statement instead. > > No functional changes. > > Signed-off-by: Andrey Konovalov Reviewed-by: Alexander Potapenko