Skip to content

Commit

Permalink
Fix license
Browse files Browse the repository at this point in the history
Change license to BSD-3-Clause

Signed-off-by: Rafal Stefanowski <[email protected]>
  • Loading branch information
Rafal Stefanowski committed Oct 28, 2021
1 parent 12c8b4e commit f22da1c
Show file tree
Hide file tree
Showing 238 changed files with 245 additions and 247 deletions.
14 changes: 6 additions & 8 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
The Clear BSD License

Copyright(c) 2019-2021 Intel Corporation
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright(c) 2012-2021 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause-Clear
# SPDX-License-Identifier: BSD-3-Clause
#

PWD:=$(shell pwd)
Expand Down
2 changes: 1 addition & 1 deletion env/posix/ocf_env_headers.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_ENV_HEADERS_H__
Expand Down
2 changes: 1 addition & 1 deletion env/posix/ocf_env_list.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_ENV_LIST__
Expand Down
2 changes: 1 addition & 1 deletion env/posix/utils_mpool.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "utils_mpool.h"
Expand Down
2 changes: 1 addition & 1 deletion env/posix/utils_mpool.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef UTILS_MPOOL_H_
Expand Down
2 changes: 1 addition & 1 deletion example/simple/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright(c) 2019-2021 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause-Clear
# SPDX-License-Identifier: BSD-3-Clause
#

OCFDIR=../../
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/ctx.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <execinfo.h>
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/ctx.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __CTX_H__
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/data.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __DATA_H__
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/volume.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <ocf/ocf.h>
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/volume.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __VOLUME_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/cleaning/acp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __OCF_CLEANING_ACP_H__
#define __OCF_CLEANING_ACP_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/cleaning/alru.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __OCF_CLEANING_ALRU_H__
#define __OCF_CLEANING_ALRU_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_cache.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_cfg.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_cleaner.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef OCF_CLEANER_H_
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_core.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_ctx.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_CTX_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_debug.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_DEBUG_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_def.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_err.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_ERR_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_io.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/


Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_io_class.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_logger.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_LOGGER_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_metadata.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_METADATA_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_mngt.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_MNGT_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_queue.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef OCF_QUEUE_H_
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_stats.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/ocf_volume.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_VOLUME_H__
Expand Down
2 changes: 1 addition & 1 deletion inc/promotion/nhit.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2019-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __OCF_PROMOTION_NHIT_H__
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/acp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __LAYER_CLEANING_POLICY_AGGRESSIVE_H__

Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/acp_structs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __CLEANING_AGGRESSIVE_STRUCTS_H__
#define __CLEANING_AGGRESSIVE_STRUCTS_H__
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/alru.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "ocf/ocf.h"
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/alru.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __LAYER_CLEANING_POLICY_ALRU_H__

Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/alru_structs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __CLEANING_ALRU_STRUCTS_H__
#define __CLEANING_ALRU_STRUCTS_H__
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/cleaning.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "cleaning.h"
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/cleaning.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __LAYER_CLEANING_POLICY_H__
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/cleaning_ops.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "alru.h"
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/cleaning_priv.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

static inline void cleaning_policy_param_error(ocf_cache_t cache,
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/nop.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "ocf/ocf.h"
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/nop.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef __LAYER_CLEANING_POLICY_NOP_H__
Expand Down
2 changes: 1 addition & 1 deletion src/cleaning/nop_structs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __LAYER_CLEANING_POLICY_NOP_STRUCTS_H__

Expand Down
2 changes: 1 addition & 1 deletion src/concurrency/ocf_cache_line_concurrency.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef OCF_CACHE_CONCURRENCY_H_
Expand Down
2 changes: 1 addition & 1 deletion src/concurrency/ocf_concurrency.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "ocf_concurrency.h"
Expand Down
Loading

0 comments on commit f22da1c

Please sign in to comment.