Skip to content

Commit 23a8e0d

Browse files
ColinIanKingdamien-lemoal
authored andcommitted
ata: sata_sx4: Fix spelling mistake "parttern" -> "pattern"
There are spelling mistakes in arrays test_parttern1 and test_parttern2. Fix them. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent ecd9ecc commit 23a8e0d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

drivers/ata/sata_sx4.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,32 +1301,32 @@ static unsigned int pdc20621_dimm_init(struct ata_host *host)
13011301
}
13021302

13031303
if (dimm_test) {
1304-
u8 test_parttern1[40] =
1304+
u8 test_pattern1[40] =
13051305
{0x55,0xAA,'P','r','o','m','i','s','e',' ',
13061306
'N','o','t',' ','Y','e','t',' ',
13071307
'D','e','f','i','n','e','d',' ',
13081308
'1','.','1','0',
13091309
'9','8','0','3','1','6','1','2',0,0};
1310-
u8 test_parttern2[40] = {0};
1310+
u8 test_pattern2[40] = {0};
13111311

1312-
pdc20621_put_to_dimm(host, test_parttern2, 0x10040, 40);
1313-
pdc20621_put_to_dimm(host, test_parttern2, 0x40, 40);
1312+
pdc20621_put_to_dimm(host, test_pattern2, 0x10040, 40);
1313+
pdc20621_put_to_dimm(host, test_pattern2, 0x40, 40);
13141314

1315-
pdc20621_put_to_dimm(host, test_parttern1, 0x10040, 40);
1316-
pdc20621_get_from_dimm(host, test_parttern2, 0x40, 40);
1317-
dev_info(host->dev, "DIMM test pattern 1: %x, %x, %s\n", test_parttern2[0],
1318-
test_parttern2[1], &(test_parttern2[2]));
1319-
pdc20621_get_from_dimm(host, test_parttern2, 0x10040,
1315+
pdc20621_put_to_dimm(host, test_pattern1, 0x10040, 40);
1316+
pdc20621_get_from_dimm(host, test_pattern2, 0x40, 40);
1317+
dev_info(host->dev, "DIMM test pattern 1: %x, %x, %s\n", test_pattern2[0],
1318+
test_pattern2[1], &(test_pattern2[2]));
1319+
pdc20621_get_from_dimm(host, test_pattern2, 0x10040,
13201320
40);
13211321
dev_info(host->dev, "DIMM test pattern 2: %x, %x, %s\n",
1322-
test_parttern2[0],
1323-
test_parttern2[1], &(test_parttern2[2]));
1322+
test_pattern2[0],
1323+
test_pattern2[1], &(test_pattern2[2]));
13241324

1325-
pdc20621_put_to_dimm(host, test_parttern1, 0x40, 40);
1326-
pdc20621_get_from_dimm(host, test_parttern2, 0x40, 40);
1325+
pdc20621_put_to_dimm(host, test_pattern1, 0x40, 40);
1326+
pdc20621_get_from_dimm(host, test_pattern2, 0x40, 40);
13271327
dev_info(host->dev, "DIMM test pattern 3: %x, %x, %s\n",
1328-
test_parttern2[0],
1329-
test_parttern2[1], &(test_parttern2[2]));
1328+
test_pattern2[0],
1329+
test_pattern2[1], &(test_pattern2[2]));
13301330
}
13311331

13321332
/* ECC initiliazation. */

0 commit comments

Comments
 (0)