From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:40:51 +0000 Subject: [PATCH] disable kernel build waring --- kernel/tools/iio/iio_generic_buffer.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/kernel/tools/iio/iio_generic_buffer.c b/kernel/tools/iio/iio_generic_buffer.c index 8454566..34d63bc 100644 --- a/kernel/tools/iio/iio_generic_buffer.c +++ b/kernel/tools/iio/iio_generic_buffer.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* Industrialio buffer test code. * * Copyright (c) 2008 Jonathan Cameron - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. * * This program is primarily intended as an example application. * Reads the current buffer setup from sysfs and starts a short capture @@ -15,7 +12,6 @@ * generic_buffer -n <device_name> -t <trigger_name> * If trigger name is not specified the program assumes you want a dataready * trigger associated with the device and goes looking for it. - * */ #include <unistd.h> -- Gitblit v1.6.2