lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201214110156.6152-7-Philipp.Gerlesberger@fau.de>
Date:   Mon, 14 Dec 2020 12:01:50 +0100
From:   Philipp Gerlesberger <Philipp.Gerlesberger@....de>
To:     linux-kernel@...r.kernel.org
Cc:     Philipp Gerlesberger <Philipp.Gerlesberger@....de>,
        ij72uhux@...d.informatik.uni-erlangen.de,
        linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
        linux-kernel@...cs.fau.de, gregkh@...uxfoundation.org,
        sakari.ailus@...ux.intel.com, mchehab@...nel.org
Subject: [PATCH v2 06/12] media: atomisp: Remove defines

Remov defines, they don't make sense.
The programmer should know what things need to be static and what not.
Also leave "inline" out and let the compiler decide

Co-developed-by: Andrey Khlopkov <ij72uhux@...d.informatik.uni-erlangen.de>
Signed-off-by: Andrey Khlopkov <ij72uhux@...d.informatik.uni-erlangen.de>
Signed-off-by: Philipp Gerlesberger <Philipp.Gerlesberger@....de>
---
 .../media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h   | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h b/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h
index 9cd3d92b34c9..45b72e98bc9f 100644
--- a/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h
+++ b/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr.h
@@ -21,10 +21,7 @@
 #ifndef __INLINE_RMGR__
 #define STORAGE_CLASS_RMGR_H extern
 #define STORAGE_CLASS_RMGR_C
-#else				/* __INLINE_RMGR__ */
-#define STORAGE_CLASS_RMGR_H static inline
-#define STORAGE_CLASS_RMGR_C static inline
-#endif				/* __INLINE_RMGR__ */
+#endif
 
 /**
  * @brief Initialize resource manager (host/common)
-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ