From patchwork Tue Oct 20 05:28: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: 10114 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 E7C23BDB13 for ; Tue, 20 Oct 2020 05:29:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B4E856052F; Tue, 20 Oct 2020 07:29:20 +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="jtL33FWF"; dkim-atps=neutral Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 90E88613C2 for ; Tue, 20 Oct 2020 07:29:18 +0200 (CEST) Received: by mail-pf1-x444.google.com with SMTP id w21so514324pfc.7 for ; Mon, 19 Oct 2020 22:29:18 -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=PzH7cQDn+Pcs0mkUbcwhOx4a/+aAn0/6pkWfRiIf6Ro=; b=jtL33FWFYSKNKQEpwgoQ3zAhCBu8lxmifvf7GDzjPcWt7SQNoh+RDStRVpAPPp3KeH aYW4Jf8RVYBXGs/xh6ZJl2R+pc6smv+isPfWGZq5MRwyzYGR+bBlICEbc5MrMWDlT5MB Alt4mbySsIbwOJkBRZGpA4L+xwDZxWYaTQ+LE= 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=PzH7cQDn+Pcs0mkUbcwhOx4a/+aAn0/6pkWfRiIf6Ro=; b=i43al3T1WZe+/t+7SYDtMTTvlHuxGhQUEo43Pxuf9SMKsN/mdodVOK2W3DotpbBZYo HVFPsTXlfqOCI1FTid3Ua69Kagvp1V5F4vv7wAz5w6u5Za1e1la6ZWsCBkCe3+QfPdiz RKzqNKhXOdqlac26kifsoJnmLsbCewF19GQUC8JfZe5hmoN98Jyi4zHlZCUnBi00zIwz Rikeom7YiduZ18vuHC8CMmcJEckKmGjQ0/vGTJlD7NlVL/h89EuFOTOfP6ag0nAeyNvZ oNzTFDuuDy6pWgGUbMZ5kNKOK3vULVshG5Pjc4HFS1BJ9lXoTlwb+Pvq+VijJNLGiysQ CQ8w== X-Gm-Message-State: AOAM531Zu1E+eeUVQqRB41MUbp7TFnfWJq44ySv6M5iuDLwx/jsGav2l /ga0pOBp2ovEHAtF9dkKg2u9cYUY+5hH3Q== X-Google-Smtp-Source: ABdhPJxISGWn3ccFBJ0wFTt36pXEujK0yiLph+DqIX/IO1hXlmP34lDaIG3OBnVLFaaVi3GVJqIHRg== X-Received: by 2002:a63:7d44:: with SMTP id m4mr1288436pgn.223.1603171757025; Mon, 19 Oct 2020 22:29:17 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([2401:fa00:8f:2:de4a:3eff:fe7d:f78f]) by smtp.gmail.com with ESMTPSA id j4sm779043pfd.101.2020.10.19.22.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 22:29:16 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 14:28:59 +0900 Message-Id: <20201020052905.89267-3-hiroh@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog In-Reply-To: <20201020052905.89267-1-hiroh@chromium.org> References: <20201020052905.89267-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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)