[libcamera-devel] [PATCH 2/4] libcamera: device_enumerator: Break line longer than 80 columns
Niklas Söderlund
niklas.soderlund at ragnatech.se
Wed Feb 13 11:59:54 CET 2019
Hi Jacopo,
Thanks for your patch,
On 2019-02-12 23:20:19 +0100, Jacopo Mondi wrote:
> Since there is no valid reason to exceed 80 columns for this lane, break
> it.
>
> Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
> src/libcamera/device_enumerator.cpp | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
> index 703b03dd418a..03923b3bb457 100644
> --- a/src/libcamera/device_enumerator.cpp
> +++ b/src/libcamera/device_enumerator.cpp
> @@ -234,7 +234,8 @@ int DeviceEnumerator::addDevice(const std::string &deviceNode)
> if (entity->deviceMajor() == 0 && entity->deviceMinor() == 0)
> continue;
>
> - std::string deviceNode = lookupDeviceNode(entity->deviceMajor(), entity->deviceMinor());
> + std::string deviceNode = lookupDeviceNode(entity->deviceMajor(),
> + entity->deviceMinor());
> if (deviceNode.empty())
> return -EINVAL;
>
> --
> 2.20.1
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
--
Regards,
Niklas Söderlund
More information about the libcamera-devel
mailing list