{"id":13258,"url":"https://patchwork.libcamera.org/api/1.1/patches/13258/?format=json","web_url":"https://patchwork.libcamera.org/patch/13258/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210809132929.1824114-2-kieran.bingham@ideasonboard.com>","date":"2021-08-09T13:29:27","name":"[libcamera-devel,v3,1/3] src: Remove all unused sys/mman.h inclusions","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"ae8743ac44f2328f16087bf681993cde4ab02a94","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/13258/mbox/","series":[{"id":2321,"url":"https://patchwork.libcamera.org/api/1.1/series/2321/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2321","date":"2021-08-09T13:29:26","name":"MappedFrameBuffer: Move its own component.","version":3,"mbox":"https://patchwork.libcamera.org/series/2321/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/13258/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/13258/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 42B90C3240\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  9 Aug 2021 13:29:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AB3796888C;\n\tMon,  9 Aug 2021 15:29:35 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B63D7687EB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  9 Aug 2021 15:29:33 +0200 (CEST)","from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6309449A;\n\tMon,  9 Aug 2021 15:29:33 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"NhbcKpfI\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1628515773;\n\tbh=nR0uUsHzn10IUFikqDTW8JzeDzUSgH6ImPRQyF+2zAk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=NhbcKpfI/F9mvTI46ejmjZ45pFZIKFTlnhUBC05sjwVfrtpabGfgjjBvRtwZSPOwH\n\tpjaObMWnb9/Q+aRdVAWwaTYawE51WAXSlV+TqO8OIr03+lVU4hcbMjqodkbx8ETvNA\n\tM4uDBSq7RlgvMsYQH1pkkrPDgd6LKuUYrWtmPxW0=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Mon,  9 Aug 2021 14:29:27 +0100","Message-Id":"<20210809132929.1824114-2-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.30.2","In-Reply-To":"<20210809132929.1824114-1-kieran.bingham@ideasonboard.com>","References":"<20210809132929.1824114-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 1/3] src: Remove all unused sys/mman.h\n\tinclusions","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Remove leftover inclusions of the sys/mman header file.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/android/camera_device.cpp                      | 1 -\n src/libcamera/ipa_module.cpp                       | 1 -\n src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 1 -\n src/libcamera/v4l2_videodevice.cpp                 | 1 -\n src/v4l2/v4l2_camera_proxy.h                       | 1 -\n src/v4l2/v4l2_compat_manager.h                     | 1 -\n 6 files changed, 6 deletions(-)","diff":"diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp\nindex 3266c495d0ca..59b37bc864b5 100644\n--- a/src/android/camera_device.cpp\n+++ b/src/android/camera_device.cpp\n@@ -12,7 +12,6 @@\n \n #include <algorithm>\n #include <fstream>\n-#include <sys/mman.h>\n #include <unistd.h>\n #include <vector>\n \ndiff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp\nindex 7c52ad8d5796..908f2e07bd3f 100644\n--- a/src/libcamera/ipa_module.cpp\n+++ b/src/libcamera/ipa_module.cpp\n@@ -16,7 +16,6 @@\n #include <fcntl.h>\n #include <link.h>\n #include <string.h>\n-#include <sys/mman.h>\n #include <sys/stat.h>\n #include <sys/types.h>\n #include <unistd.h>\ndiff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\nindex 0bab3bedd402..2e8774ae360d 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -10,7 +10,6 @@\n #include <memory>\n #include <mutex>\n #include <queue>\n-#include <sys/mman.h>\n #include <unordered_set>\n \n #include <libcamera/camera.h>\ndiff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp\nindex da2af6a13dfb..cddabad753e1 100644\n--- a/src/libcamera/v4l2_videodevice.cpp\n+++ b/src/libcamera/v4l2_videodevice.cpp\n@@ -13,7 +13,6 @@\n #include <sstream>\n #include <string.h>\n #include <sys/ioctl.h>\n-#include <sys/mman.h>\n #include <sys/syscall.h>\n #include <sys/time.h>\n #include <unistd.h>\ndiff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h\nindex 92a79abb9e21..f1a8b61c5eac 100644\n--- a/src/v4l2/v4l2_camera_proxy.h\n+++ b/src/v4l2/v4l2_camera_proxy.h\n@@ -12,7 +12,6 @@\n #include <map>\n #include <memory>\n #include <set>\n-#include <sys/mman.h>\n #include <sys/types.h>\n #include <vector>\n \ndiff --git a/src/v4l2/v4l2_compat_manager.h b/src/v4l2/v4l2_compat_manager.h\nindex bc548ab2a8bd..1ec46162211d 100644\n--- a/src/v4l2/v4l2_compat_manager.h\n+++ b/src/v4l2/v4l2_compat_manager.h\n@@ -11,7 +11,6 @@\n #include <fcntl.h>\n #include <map>\n #include <memory>\n-#include <sys/mman.h>\n #include <sys/types.h>\n #include <vector>\n \n","prefixes":["libcamera-devel","v3","1/3"]}