forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/edac/edac_mc.h
....@@ -122,10 +122,10 @@
122122 * On success, return a pointer to struct mem_ctl_info pointer;
123123 * %NULL otherwise
124124 */
125
-struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
126
- unsigned n_layers,
125
+struct mem_ctl_info *edac_mc_alloc(unsigned int mc_num,
126
+ unsigned int n_layers,
127127 struct edac_mc_layer *layers,
128
- unsigned sz_pvt);
128
+ unsigned int sz_pvt);
129129
130130 /**
131131 * edac_get_owner - Return the owner's mod_name of EDAC MC
....@@ -212,17 +212,13 @@
212212 * edac_raw_mc_handle_error() - Reports a memory event to userspace without
213213 * doing anything to discover the error location.
214214 *
215
- * @type: severity of the error (CE/UE/Fatal)
216
- * @mci: a struct mem_ctl_info pointer
217215 * @e: error description
218216 *
219217 * This raw function is used internally by edac_mc_handle_error(). It should
220218 * only be called directly when the hardware error come directly from BIOS,
221219 * like in the case of APEI GHES driver.
222220 */
223
-void edac_raw_mc_handle_error(const enum hw_event_mc_err_type type,
224
- struct mem_ctl_info *mci,
225
- struct edac_raw_error_desc *e);
221
+void edac_raw_mc_handle_error(struct edac_raw_error_desc *e);
226222
227223 /**
228224 * edac_mc_handle_error() - Reports a memory event to userspace.