staging: media: atomisp: remove stale "Generated code" comments
Subsystems (4)
PATCH v2 1/1 staging: media: atomisp: remove stale "Generated code" comments
In reply to a message not in the archiveRemove the "Generated code: do not edit or commmit." comments from five files. As suggested by Andy Shevchenko, this code is coupled with legacy firmware and will never be re-generated, so the comment is misleading and should be dropped entirely rather than having its typo fixed.
--- drivers/staging/media/atomisp/pci/ia_css_isp_configs.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_params.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_params.h | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_states.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_states.h | 1 - 5 files changed, 5 deletions(-)
drivers/staging/media/atomisp/pci/ia_css_isp_configs.c +0 -1
@@ -4,7 +4,6 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ #define IA_CSS_INCLUDE_CONFIGURATIONS #include "ia_css_pipeline.h"
drivers/staging/media/atomisp/pci/ia_css_isp_params.c +0 -1
@@ -48,7 +48,6 @@#include "isp/kernels/eed1_8/ia_css_eed1_8.host.h" #include "isp/kernels/bnlm/ia_css_bnlm.host.h" #include "isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.h" -/* Generated code: do not edit or commmit. */ #include "ia_css_pipeline.h" #include "ia_css_isp_params.h"
drivers/staging/media/atomisp/pci/ia_css_isp_params.h +0 -1
@@ -4,7 +4,6 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ #ifndef _IA_CSS_ISP_PARAM_H#define _IA_CSS_ISP_PARAM_H
drivers/staging/media/atomisp/pci/ia_css_isp_states.c +0 -1
@@ -3,7 +3,6 @@* Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ #include "ia_css_pipeline.h" #include "ia_css_isp_states.h"
drivers/staging/media/atomisp/pci/ia_css_isp_states.h +0 -1
@@ -15,7 +15,6 @@#include "isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.h" #include "isp/kernels/dpc2/ia_css_dpc2.host.h" #include "isp/kernels/eed1_8/ia_css_eed1_8.host.h" -/* Generated code: do not edit or commmit. */ #ifndef _IA_CSS_ISP_STATE_H#define _IA_CSS_ISP_STATE_H
---
base-commit: ea09c82fbc53aad867541cd2f0bde96c6b228ba0
change-id: 20260511-atomisp-remove-generated-comment-ae5966c5ec7f
Best regards,
Signature · 1 line
Tomasz Unger <[email protected]>
Quoted 21 lines · Tomasz Unger
Remove the "Generated code: do not edit or commmit." comments from five files. As suggested by Andy Shevchenko, this code is coupled with legacy firmware and will never be re-generated, so the comment is misleading and should be dropped entirely rather than having its typo fixed.
Suggested-by Andy Shevchenko <[email protected]>Signed-off-by Tomasz Unger <[email protected]>--- drivers/staging/media/atomisp/pci/ia_css_isp_configs.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_params.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_params.h | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_states.c | 1 - drivers/staging/media/atomisp/pci/ia_css_isp_states.h | 1 - 5 files changed, 5 deletions(-)drivers/staging/media/atomisp/pci/ia_css_isp_configs.c +0
-0
drivers/staging/media/atomisp/pci/ia_css_isp_configs.c line 8
Quoted 6 lines
drivers/staging/media/atomisp/pci/ia_css_isp_configs.c +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ #define IA_CSS_INCLUDE_CONFIGURATIONS
Now there are two blank lines in a row.
Quoted 18 lines
drivers/staging/media/atomisp/pci/ia_css_isp_configs.c +0
-0#include "ia_css_pipeline.h" drivers/staging/media/atomisp/pci/ia_css_isp_params.c +0
-1@@ -48,7 +48,6 @@#include "isp/kernels/eed1_8/ia_css_eed1_8.host.h" #include "isp/kernels/bnlm/ia_css_bnlm.host.h" #include "isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.h" -/* Generated code: do not edit or commmit. */ #include "ia_css_pipeline.h" #include "ia_css_isp_params.h" drivers/staging/media/atomisp/pci/ia_css_isp_params.h +0
-0
drivers/staging/media/atomisp/pci/ia_css_isp_params.h line 8
Quoted 6 lines
drivers/staging/media/atomisp/pci/ia_css_isp_params.h +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2015, Intel Corporation. */ -/* Generated code: do not edit or commmit. */ #ifndef _IA_CSS_ISP_PARAM_H
Same.
regards,
dan carpenter