| .. | .. |
|---|
| 122 | 122 | * On success, return a pointer to struct mem_ctl_info pointer; |
|---|
| 123 | 123 | * %NULL otherwise |
|---|
| 124 | 124 | */ |
|---|
| 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, |
|---|
| 127 | 127 | struct edac_mc_layer *layers, |
|---|
| 128 | | - unsigned sz_pvt); |
|---|
| 128 | + unsigned int sz_pvt); |
|---|
| 129 | 129 | |
|---|
| 130 | 130 | /** |
|---|
| 131 | 131 | * edac_get_owner - Return the owner's mod_name of EDAC MC |
|---|
| .. | .. |
|---|
| 212 | 212 | * edac_raw_mc_handle_error() - Reports a memory event to userspace without |
|---|
| 213 | 213 | * doing anything to discover the error location. |
|---|
| 214 | 214 | * |
|---|
| 215 | | - * @type: severity of the error (CE/UE/Fatal) |
|---|
| 216 | | - * @mci: a struct mem_ctl_info pointer |
|---|
| 217 | 215 | * @e: error description |
|---|
| 218 | 216 | * |
|---|
| 219 | 217 | * This raw function is used internally by edac_mc_handle_error(). It should |
|---|
| 220 | 218 | * only be called directly when the hardware error come directly from BIOS, |
|---|
| 221 | 219 | * like in the case of APEI GHES driver. |
|---|
| 222 | 220 | */ |
|---|
| 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); |
|---|
| 226 | 222 | |
|---|
| 227 | 223 | /** |
|---|
| 228 | 224 | * edac_mc_handle_error() - Reports a memory event to userspace. |
|---|