From patchwork Tue Oct 20 09:14:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 10126 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 37E83BDB1F for ; Tue, 20 Oct 2020 09:15:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 029CE610C4; Tue, 20 Oct 2020 11:15:17 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="kYqLJbhw"; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0D2A36052F for ; Tue, 20 Oct 2020 11:15:16 +0200 (CEST) Received: by mail-pf1-x442.google.com with SMTP id 10so833307pfp.5 for ; Tue, 20 Oct 2020 02:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y8Is3A32fjh+CVX7gMxhWiFjjMSYUt4UBTXqCbxzLw8=; b=kYqLJbhwTsLK3CM6S1IFk7LA+rqrX1DVqV/TbdFb5zi4rZ3Phj9ANwyAjKY7p3Jess PFTzXRhc4BasmEAMwZCss/tqS4EguPHterQ7SusUgqaZFojrmxR5uU5ZASttykCzhdth 3UMzK0ITtr4Yq1oR/H7xU0250RbsTYfXfqnTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y8Is3A32fjh+CVX7gMxhWiFjjMSYUt4UBTXqCbxzLw8=; b=IRV+zmozh7MoGfYSibxWHWE/3fyWD1DIO+1xY+cxVT6FSW/7N5Il+X6y8AVDTVx1ix Sl862f3Oswz3yVrnKKCrlmjWPq9F766e/tOO1CIuWPLsCH24nJt3qxBZ2TPKPop+s/s/ SIwDf5tbm3Ei40UFrM7gF4QuubfF/buOd+FYhAfs9wKTja6b1c3BnNjxD0B9MoDGqqX5 wzCesV6nmCEiSKeZAjG+TqJqn+gm/FfYyHSY9jM2T9djssK1kIbOyvPLozeIFbM4LCcw QtophLpzQm28yBwuiEGNIzYlfSwqDOuL79FjI37LwXa78f7L3fI71+8P7HlsnWNt6OkB c2mA== X-Gm-Message-State: AOAM5328iSd1K3Q/LFlm+Lhcpy5RGLhDCCqtQONkJuTXB1m2wVRsFO5f wPMHzLpBbm2DK48mYXfW1xpqeaQaFKfbJw== X-Google-Smtp-Source: ABdhPJxyQg0tPqqJWd0VaUIKedRQit4LZNz6xvjZh6YVNZkNde3zN++NV6YM7uVDb55fEw2ZaF8sRA== X-Received: by 2002:a63:5f53:: with SMTP id t80mr1907328pgb.62.1603185314035; Tue, 20 Oct 2020 02:15:14 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([2401:fa00:8f:2:de4a:3eff:fe7d:f78f]) by smtp.gmail.com with ESMTPSA id p8sm1482014pgs.34.2020.10.20.02.15.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 02:15:13 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 18:14:59 +0900 Message-Id: <20201020091505.138898-2-hiroh@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog In-Reply-To: <20201020091505.138898-1-hiroh@chromium.org> References: <20201020091505.138898-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 2/8] v4l2: Omit extra semicolons X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" LOG_DECLARE_CATEGORY macro contains the semicolon. The end semicolon with the macro is unnecessary. Signed-off-by: Hirokazu Honda Reviewed-by: Laurent Pinchart --- src/v4l2/v4l2_camera.cpp | 2 +- src/v4l2/v4l2_camera_proxy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v4l2/v4l2_camera.cpp b/src/v4l2/v4l2_camera.cpp index 35d3bed..97825c7 100644 --- a/src/v4l2/v4l2_camera.cpp +++ b/src/v4l2/v4l2_camera.cpp @@ -14,7 +14,7 @@ using namespace libcamera; -LOG_DECLARE_CATEGORY(V4L2Compat); +LOG_DECLARE_CATEGORY(V4L2Compat) V4L2Camera::V4L2Camera(std::shared_ptr camera) : camera_(camera), isRunning_(false), bufferAllocator_(nullptr), diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp index 8ff990f..7803d37 100644 --- a/src/v4l2/v4l2_camera_proxy.cpp +++ b/src/v4l2/v4l2_camera_proxy.cpp @@ -32,7 +32,7 @@ using namespace libcamera; -LOG_DECLARE_CATEGORY(V4L2Compat); +LOG_DECLARE_CATEGORY(V4L2Compat) V4L2CameraProxy::V4L2CameraProxy(unsigned int index, std::shared_ptr camera)