From mboxrd@z Thu Jan 1 00:00:00 1970 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 22576C00A5A for ; Thu, 19 Jan 2023 14:10:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231522AbjASOKi (ORCPT ); Thu, 19 Jan 2023 09:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbjASOJO (ORCPT ); Thu, 19 Jan 2023 09:09:14 -0500 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 829D982D56; Thu, 19 Jan 2023 06:08:24 -0800 (PST) Received: by mail-qv1-xf2a.google.com with SMTP id y8so1567612qvn.11; Thu, 19 Jan 2023 06:08:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=lI7bNBM712aJHyLKJ5fyHPeJK8BWNRSC3RcpgvndO94=; b=KHtYoiEGDHvGcMAIId58pIH/ad712Vd1Ipc/s9+GUT72Bk5MszZ/aYutEJu4zAuVCu OFCTh5hVApxS6FTKAQaWZsjqmW37l5RoZ+Juat+KT05dMBkJHHH1Zy+HcP7nd9KVni8T fjpZWSFZ/epe9iIS/fOYd96JzirjpCrUHwLaD1xOh3D4HuEILxQEtGr0yIKKwoLizZ49 9A3lIx2RODW7WnKBTl4jiJFvha0jVi0lys5EI+Y77zVlyaSZVtcsg+OYDXP4hAHQlSes c3aq/uLhTlNjanPmyp/41DZ4vyhxiq97KRceC9aqb2MssK8tL002ApEoMUEoLowi1QNK kQ3g== 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=lI7bNBM712aJHyLKJ5fyHPeJK8BWNRSC3RcpgvndO94=; b=n2qR8lbph1PkJPgSr2Kdy6vl6+liNYyAsYSXiOErxXH80Nb4IccCMHxaW4gbrSUjqJ z32C99pa8eQbFmNT+1x1B47KcX7TM+kNIL7glQ5NbO0XcZHTrGr2M168WlPKHNWh/C5B NQMQWQyrYEMYdItiDrDNt2KzKFfvd1fXOYyuiatAv2TZq3dyP+iU7b7xyo7soZCiWtHt l2wsTGFIh3k6U3iDzBXwQgTOtVbK1XFhnDhyE8f7jJ9NrKb+69S8+Dpxf5w/91U+AcNV 2upCc+ZHf6kJAjVnMV3I1LZ8jwtm0RH6S31FdKTu+EPAMW8VSA4FdZ7tm5ZGko4xdrBK ydtw== X-Gm-Message-State: AFqh2kqZGjdSIEVM+KEFJp32rGHwKN//DuWT+S+Y4/fAfsB6zaIqKkoR 5BdWtO4pFs/mpcbVzkbuW4sLY9BNMFMIpEBSbDo= X-Google-Smtp-Source: AMrXdXsH7RqaoxO0iZCH40SaRq1NMTaoNUhOBacXaJih3JlcUdNFDSYkeyz/5LfMLBYhKnC1N/vUZsTKn5dr0MMMxWM= X-Received: by 2002:a05:6214:4c08:b0:4c7:1ebf:719f with SMTP id qh8-20020a0562144c0800b004c71ebf719fmr418413qvb.64.1674137266231; Thu, 19 Jan 2023 06:07:46 -0800 (PST) MIME-Version: 1.0 References: <20230119134218.12280-1-bpappas@pappasbrent.com> In-Reply-To: <20230119134218.12280-1-bpappas@pappasbrent.com> From: Andy Shevchenko Date: Thu, 19 Jan 2023 16:07:10 +0200 Message-ID: Subject: Re: [PATCH] media: atomisp: pci: sh_css: Replace macro STATS_ENABLED() with function To: Brent Pappas Cc: hdegoede@redhat.com, mchehab@kernel.org, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, andy@kernel.org, colin.i.king@gmail.com, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, 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 Thu, Jan 19, 2023 at 3:43 PM Brent Pappas wrote: > > Replace the macro STATS_ENABLED() with a static function to conform to > Linux coding style standards. I believe the best approach here is to drop that completely and move its content to be inline in the only caller. -- With Best Regards, Andy Shevchenko