From ff291fb6086bebebdbb3a1e6a2d696838c4e9c21 Mon Sep 17 00:00:00 2001 From: Markus Obendrauf Date: Thu, 15 Jan 2026 12:56:42 +0000 Subject: [PATCH] Delete gpl-2.0_and-unknown-license-reference_1 rule Signed-off-by: Markus Obendrauf --- ...l-2.0_and-unknown-license-reference_1.RULE | 12 -- .../datadriven/external/slic-tests/hdsmart.h | 114 ------------------ .../external/slic-tests/hdsmart.h.yml | 2 - 3 files changed, 128 deletions(-) delete mode 100644 src/licensedcode/data/rules/gpl-2.0_and-unknown-license-reference_1.RULE delete mode 100644 tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h delete mode 100644 tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h.yml diff --git a/src/licensedcode/data/rules/gpl-2.0_and-unknown-license-reference_1.RULE b/src/licensedcode/data/rules/gpl-2.0_and-unknown-license-reference_1.RULE deleted file mode 100644 index 4498b9c13c2..00000000000 --- a/src/licensedcode/data/rules/gpl-2.0_and-unknown-license-reference_1.RULE +++ /dev/null @@ -1,12 +0,0 @@ ---- -license_expression: gpl-2.0 AND unknown-license-reference -is_license_notice: yes -relevance: 100 -notes: found in Android bionic ---- - -*** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. \ No newline at end of file diff --git a/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h b/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h deleted file mode 100644 index 6cbc6538b55..00000000000 --- a/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h +++ /dev/null @@ -1,114 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _LINUX_HDSMART_H -#define _LINUX_HDSMART_H - -#define OFFLINE_FULL_SCAN 0 -#define SHORT_SELF_TEST 1 -#define EXTEND_SELF_TEST 2 -#define SHORT_CAPTIVE_SELF_TEST 129 -#define EXTEND_CAPTIVE_SELF_TEST 130 - -typedef struct ata_smart_attribute_s { - unsigned char id; - unsigned short status_flag; - unsigned char normalized; - unsigned char worse_normal; - unsigned char raw[6]; - unsigned char reserv; -} __attribute__ ((packed)) ata_smart_attribute_t; - -typedef struct ata_smart_values_s { - unsigned short revnumber; - ata_smart_attribute_t vendor_attributes [30]; - unsigned char offline_data_collection_status; - unsigned char self_test_exec_status; - unsigned short total_time_to_complete_off_line; - unsigned char vendor_specific_366; - unsigned char offline_data_collection_capability; - unsigned short smart_capability; - unsigned char errorlog_capability; - unsigned char vendor_specific_371; - unsigned char short_test_completion_time; - unsigned char extend_test_completion_time; - unsigned char reserved_374_385 [12]; - unsigned char vendor_specific_386_509 [125]; - unsigned char chksum; -} __attribute__ ((packed)) ata_smart_values_t; - -typedef struct ata_smart_threshold_entry_s { - unsigned char id; - unsigned char normalized_threshold; - unsigned char reserved[10]; -} __attribute__ ((packed)) ata_smart_threshold_entry_t; - -typedef struct ata_smart_thresholds_s { - unsigned short revnumber; - ata_smart_threshold_entry_t thres_entries[30]; - unsigned char reserved[149]; - unsigned char chksum; -} __attribute__ ((packed)) ata_smart_thresholds_t; - -typedef struct ata_smart_errorlog_command_struct_s { - unsigned char devicecontrolreg; - unsigned char featuresreg; - unsigned char sector_count; - unsigned char sector_number; - unsigned char cylinder_low; - unsigned char cylinder_high; - unsigned char drive_head; - unsigned char commandreg; - unsigned int timestamp; -} __attribute__ ((packed)) ata_smart_errorlog_command_struct_t; - -typedef struct ata_smart_errorlog_error_struct_s { - unsigned char error_condition; - unsigned char extended_error[14]; - unsigned char state; - unsigned short timestamp; -} __attribute__ ((packed)) ata_smart_errorlog_error_struct_t; - -typedef struct ata_smart_errorlog_struct_s { - ata_smart_errorlog_command_struct_t commands[6]; - ata_smart_errorlog_error_struct_t error_struct; -} __attribute__ ((packed)) ata_smart_errorlog_struct_t; - -typedef struct ata_smart_errorlog_s { - unsigned char revnumber; - unsigned char error_log_pointer; - ata_smart_errorlog_struct_t errorlog_struct[5]; - unsigned short ata_error_count; - unsigned short non_fatal_count; - unsigned short drive_timeout_count; - unsigned char reserved[53]; - unsigned char chksum; -} __attribute__ ((packed)) ata_smart_errorlog_t; - -typedef struct ata_smart_selftestlog_struct_s { - unsigned char selftestnumber; - unsigned char selfteststatus; - unsigned short timestamp; - unsigned char selftestfailurecheckpoint; - unsigned int lbafirstfailure; - unsigned char vendorspecific[15]; -} __attribute__ ((packed)) ata_smart_selftestlog_struct_t; - -typedef struct ata_smart_selftestlog_s { - unsigned short revnumber; - ata_smart_selftestlog_struct_t selftest_struct[21]; - unsigned char vendorspecific[2]; - unsigned char mostrecenttest; - unsigned char resevered[2]; - unsigned char chksum; -} __attribute__ ((packed)) ata_smart_selftestlog_t; - -#endif diff --git a/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h.yml b/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h.yml deleted file mode 100644 index 16af4d126f8..00000000000 --- a/tests/licensedcode/data/datadriven/external/slic-tests/hdsmart.h.yml +++ /dev/null @@ -1,2 +0,0 @@ -license_expressions: - - gpl-2.0 AND unknown-license-reference