This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 3f1a22bb1c7921867b6dbb711beca3444fa9e328
Author: Alin Jerpelea <[email protected]>
AuthorDate: Sat Nov 28 10:18:27 2026 +0100

    sched: fix license header
    
    fix warnings from ATR
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 sched/hrtimer/hrtimer_cancel.c        | 2 +-
 sched/hrtimer/hrtimer_gettime.c       | 2 +-
 sched/hrtimer/hrtimer_start.c         | 8 ++++----
 sched/misc/coredump.h                 | 2 ++
 sched/pthread/pthread_sigqueue.c      | 6 +++---
 sched/sched/queue.h                   | 2 ++
 sched/sched/sched_process_delivered.c | 2 ++
 sched/sched/sched_profil.c            | 2 ++
 sched/wqueue/wqueue.h                 | 1 +
 9 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/sched/hrtimer/hrtimer_cancel.c b/sched/hrtimer/hrtimer_cancel.c
index e19cc6d869c..0df910eea4c 100644
--- a/sched/hrtimer/hrtimer_cancel.c
+++ b/sched/hrtimer/hrtimer_cancel.c
@@ -6,7 +6,7 @@
  * 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 under the Apache License, Version 2.0 (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
  *
diff --git a/sched/hrtimer/hrtimer_gettime.c b/sched/hrtimer/hrtimer_gettime.c
index c3f3c8d33e8..c34bdc3ece1 100644
--- a/sched/hrtimer/hrtimer_gettime.c
+++ b/sched/hrtimer/hrtimer_gettime.c
@@ -6,7 +6,7 @@
  * 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 under the Apache License, Version 2.0 (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
  *
diff --git a/sched/hrtimer/hrtimer_start.c b/sched/hrtimer/hrtimer_start.c
index 8603952110a..0f75e6c6b61 100644
--- a/sched/hrtimer/hrtimer_start.c
+++ b/sched/hrtimer/hrtimer_start.c
@@ -13,10 +13,10 @@
  *   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.
+ * 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.
  *
  ****************************************************************************/
 
diff --git a/sched/misc/coredump.h b/sched/misc/coredump.h
index 28adb83d4c4..5463a513ceb 100644
--- a/sched/misc/coredump.h
+++ b/sched/misc/coredump.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * sched/misc/coredump.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/sched/pthread/pthread_sigqueue.c b/sched/pthread/pthread_sigqueue.c
index a2ab3b2c03b..5ff19a9e2c8 100644
--- a/sched/pthread/pthread_sigqueue.c
+++ b/sched/pthread/pthread_sigqueue.c
@@ -4,11 +4,11 @@
  * SPDX-License-Identifier: Apache-2.0
  *
  * 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
+ * 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
+ * License.  You may obtain a copy of the License at
  *
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
diff --git a/sched/sched/queue.h b/sched/sched/queue.h
index 28be9f6ab21..eda5207dc5a 100644
--- a/sched/sched/queue.h
+++ b/sched/sched/queue.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * sched/sched/queue.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/sched/sched/sched_process_delivered.c 
b/sched/sched/sched_process_delivered.c
index 1319f15b65c..b1132f28571 100644
--- a/sched/sched/sched_process_delivered.c
+++ b/sched/sched/sched_process_delivered.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * sched/sched/sched_process_delivered.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/sched/sched/sched_profil.c b/sched/sched/sched_profil.c
index 947ec35b5ef..a5904ae192b 100644
--- a/sched/sched/sched_profil.c
+++ b/sched/sched/sched_profil.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * sched/sched/sched_profil.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/sched/wqueue/wqueue.h b/sched/wqueue/wqueue.h
index fe8f64bbecc..2771fd4f48f 100644
--- a/sched/wqueue/wqueue.h
+++ b/sched/wqueue/wqueue.h
@@ -17,6 +17,7 @@
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
  * License for the specific language governing permissions and limitations
  * under the License.
+ *
  ****************************************************************************/
 
 #ifndef __SCHED_WQUEUE_WQUEUE_H

Reply via email to