utzig closed pull request #674: Fix issues found by apache-rat URL: https://github.com/apache/mynewt-core/pull/674
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/.rat-excludes b/.rat-excludes index bc3eb006a..5783434e5 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -274,7 +274,7 @@ unicode.c split-nrf52840pdk.ld nrf52840pdk_no_boot.ld -#Freescale Semiconductor License +# Freescale Semiconductor License boot-mkw41z512.ld mkw41z512.ld no-boot-mkw41z512.ld @@ -285,10 +285,15 @@ system_MKW41Z4.h MKW41Z4_features.h system_MKW41Z4.c -#Imagination Technologies License +# Imagination Technologies - BSD License +mips-hal ctx.S excpt_isr.S uhi32.ld +abiflags.S + +# Cygnus Support - MIT like License +gcc_startup_mips.S # HiFive1 - Apache License 2.0 sifive @@ -334,13 +339,40 @@ startup_stm32f767xx.s # Microchip PIC32 SDK - BSD License p32mz2048efg100.h -pic32/os -arch/pic32 pic32_init_cache.S pic32_init_tlb_ebi_sqi.S +cache-err-exception.S +cp0defs.h +simple-tlb-refill-exception.S +crt0.S # Calliope SDK - BSD Licence split-calliope_mini.ld # Bluetooth Mesh - Apache 2.0 License mesh + +# pic32mx470_6lp_clicker BSP - one BSD licensed file (other are Apache): +# /hw/bsp/pic32mx470_6lp_clicker/src/sbrk.c +pic32mx470_6lp_clicker + +# pic32mz2048_wi-fire BSP - one BSD licensed file (other are Apache): +# ./hw/bsp/pic32mz2048_wi-fire/src/sbrk.c +pic32mz2048_wi-fire + +# SDK for Apollo2 - MIT/BSD/Apache License +# hw/bsp/apollo2_evb/src/arch/cortex_m4/gcc_startup.s +apollo2_evb + +# BSP for Apollo2 - BSD License +AmbiqSuite +apollo2.h +system_apollo2.h +system_apollo2.c +apollo_nvic.h + +# Apollo2 linker script - MIT License +apollo2.ld + +# Ignore documentation folder +docs diff --git a/kernel/os/src/os_cputime_1mhz.c b/kernel/os/src/os_cputime_1mhz.c index 4e769687d..70e051278 100644 --- a/kernel/os/src/os_cputime_1mhz.c +++ b/kernel/os/src/os_cputime_1mhz.c @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "os/os_cputime.h" /** diff --git a/kernel/os/src/os_cputime_high.c b/kernel/os/src/os_cputime_high.c index bb7166234..4a8746af3 100644 --- a/kernel/os/src/os_cputime_high.c +++ b/kernel/os/src/os_cputime_high.c @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "os/os_cputime.h" /** diff --git a/kernel/os/src/os_cputime_pwr2.c b/kernel/os/src/os_cputime_pwr2.c index 5a05b966c..1567070ae 100644 --- a/kernel/os/src/os_cputime_pwr2.c +++ b/kernel/os/src/os_cputime_pwr2.c @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "os/os_cputime.h" /** diff --git a/net/nimble/host/test/src/ble_hs_test_util_hci.c b/net/nimble/host/test/src/ble_hs_test_util_hci.c index 32548c666..0b7240985 100644 --- a/net/nimble/host/test/src/ble_hs_test_util_hci.c +++ b/net/nimble/host/test/src/ble_hs_test_util_hci.c @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "testutil/testutil.h" #include "nimble/ble.h" #include "nimble/hci_common.h" ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services