File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ static int edac_mc_alloc_csrows(struct mem_ctl_info *mci)
214
214
unsigned int row , chn ;
215
215
216
216
/*
217
- * Alocate and fill the csrow/channels structs
217
+ * Allocate and fill the csrow/channels structs
218
218
*/
219
219
mci -> csrows = kcalloc (tot_csrows , sizeof (* mci -> csrows ), GFP_KERNEL );
220
220
if (!mci -> csrows )
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ static inline int nr_pages_per_csrow(struct csrow_info *csrow)
422
422
return nr_pages ;
423
423
}
424
424
425
- /* Create a CSROW object under specifed edac_mc_device */
425
+ /* Create a CSROW object under specified edac_mc_device */
426
426
static int edac_create_csrow_object (struct mem_ctl_info * mci ,
427
427
struct csrow_info * csrow , int index )
428
428
{
@@ -449,7 +449,7 @@ static int edac_create_csrow_object(struct mem_ctl_info *mci,
449
449
return 0 ;
450
450
}
451
451
452
- /* Create a CSROW object under specifed edac_mc_device */
452
+ /* Create a CSROW object under specified edac_mc_device */
453
453
static int edac_create_csrow_objects (struct mem_ctl_info * mci )
454
454
{
455
455
int err , i ;
@@ -636,7 +636,7 @@ static void dimm_release(struct device *dev)
636
636
*/
637
637
}
638
638
639
- /* Create a DIMM object under specifed memory controller device */
639
+ /* Create a DIMM object under specified memory controller device */
640
640
static int edac_create_dimm_object (struct mem_ctl_info * mci ,
641
641
struct dimm_info * dimm )
642
642
{
Original file line number Diff line number Diff line change @@ -338,11 +338,11 @@ struct i5000_pvt {
338
338
339
339
u16 mir0 , mir1 , mir2 ;
340
340
341
- u16 b0_mtr [NUM_MTRS ]; /* Memory Technlogy Reg */
341
+ u16 b0_mtr [NUM_MTRS ]; /* Memory Technology Reg */
342
342
u16 b0_ambpresent0 ; /* Branch 0, Channel 0 */
343
- u16 b0_ambpresent1 ; /* Brnach 0, Channel 1 */
343
+ u16 b0_ambpresent1 ; /* Branch 0, Channel 1 */
344
344
345
- u16 b1_mtr [NUM_MTRS ]; /* Memory Technlogy Reg */
345
+ u16 b1_mtr [NUM_MTRS ]; /* Memory Technology Reg */
346
346
u16 b1_ambpresent0 ; /* Branch 1, Channel 8 */
347
347
u16 b1_ambpresent1 ; /* Branch 1, Channel 1 */
348
348
@@ -1210,7 +1210,7 @@ static void i5000_get_mc_regs(struct mem_ctl_info *mci)
1210
1210
& pvt -> b0_ambpresent1 );
1211
1211
edac_dbg (2 , "\t\tAMB-Branch 0-present1 0x%x:\n" , pvt -> b0_ambpresent1 );
1212
1212
1213
- /* Only if we have 2 branchs (4 channels) */
1213
+ /* Only if we have 2 branches (4 channels) */
1214
1214
if (pvt -> maxch < CHANNELS_PER_BRANCH ) {
1215
1215
pvt -> b1_ambpresent0 = 0 ;
1216
1216
pvt -> b1_ambpresent1 = 0 ;
You can’t perform that action at this time.
0 commit comments