Fix some common typos in source code comments

- s/priviledged/privileged/
- s/funtion/function/
- s/doens't/doesn't/
- s/sychronization/synchronization/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2021-08-28 18:57:23 +02:00
parent 10e0082fff
commit 5bdf58e196
10 changed files with 11 additions and 11 deletions

View File

@ -114,7 +114,7 @@ struct abort {
* for cache operations working on virtual addresses. For now, we will
* consider this abort as fatal. In fact, no cache maintenance on
* not mapped virtual addresses should be called. As cache maintenance
* operation (except DMB, DSB, and Flush Prefetch Buffer) are priviledged,
* operation (except DMB, DSB, and Flush Prefetch Buffer) are privileged,
* the abort is fatal for user mode as well for now. (This is good place to
* note that cache maintenance on virtual address fill TLB.)
* Acces Bit (L1 & L2):
@ -654,7 +654,7 @@ abort_align(struct trapframe *tf, u_int idx, u_int fsr, u_int far,
* According to manual, FAULT_ICACHE is translation fault during cache
* maintenance operation. In fact, no cache maintenance operation on
* not mapped virtual addresses should be called. As cache maintenance
* operation (except DMB, DSB, and Flush Prefetch Buffer) are priviledged,
* operation (except DMB, DSB, and Flush Prefetch Buffer) are privileged,
* the abort is concider as fatal for now. However, all the matter with
* cache maintenance operation on virtual addresses could be really complex
* and fuzzy in SMP case, so maybe in future standard fault mechanism

View File

@ -442,7 +442,7 @@ int decompress_buffer(struct cudbg_buffer *pc_buff,
remaining = chunk_size;
checksum = 1L;
for (;;) {
/* Write a funtion for this */
/* Write a function for this */
r = (CUDBG_BLOCK_SIZE < remaining) ?
CUDBG_BLOCK_SIZE : remaining;
bytes_read =

View File

@ -203,7 +203,7 @@ lxtphy_status(struct mii_softc *sc)
/*
* Get link status from the CSR; we need to read the CSR
* for media type anyhow, and the link status in the CSR
* doens't latch, so fewer register reads are required.
* doesn't latch, so fewer register reads are required.
*/
csr = PHY_READ(sc, MII_LXTPHY_CSR);
if (csr & CSR_LINK)

View File

@ -118,7 +118,7 @@ oce_reset_fun(POCE_SOFTC sc)
}
/**
* @brief This funtions tells firmware we are
* @brief This functions tells firmware we are
* done with commands.
* @param sc software handle to the device
* @returns 0 on success, ETIMEDOUT on failure

View File

@ -702,7 +702,7 @@ struct ecore_hwfn {
struct ecore_ptt *p_main_ptt;
struct ecore_ptt *p_dpc_ptt;
/* PTP will be used only by the leading funtion.
/* PTP will be used only by the leading function.
* Usage of all PTP-apis should be synchronized as result.
*/
struct ecore_ptt *p_ptp_ptt;

View File

@ -624,7 +624,7 @@ rtsx_handle_card_present(struct rtsx_softc *sc)
}
/*
* This funtion is called at startup.
* This function is called at startup.
*/
static void
rtsx_card_task(void *arg, int pending __unused)

View File

@ -984,7 +984,7 @@ sfxge_vpd_init(struct sfxge_softc *sc)
if ((rc = efx_vpd_size(sc->enp, &sc->vpd_size)) != 0) {
/*
* Unpriviledged functions deny VPD access.
* Unprivileged functions deny VPD access.
* Simply skip VPD in this case.
*/
if (rc == EACCES)

View File

@ -256,7 +256,7 @@ struct meminfo {
#endif
/*
* We use our own malloc/realloc/free funtions, so we can collect statistics
* We use our own malloc/realloc/free functions, so we can collect statistics
* and force journal switch when we're running out of cache.
*/
static void *

View File

@ -62,7 +62,7 @@ static d_open_t perfmon_open;
static d_ioctl_t perfmon_ioctl;
/*
* XXX perfmon_init_dev(void *) is a split from the perfmon_init() funtion.
* XXX perfmon_init_dev(void *) is a split from the perfmon_init() function.
* This solves a problem for DEVFS users. It loads the "perfmon" driver after
* the DEVFS subsystem has been kicked into action. The SI_ORDER_ANY is to
* assure that it is the most lowest priority task which, guarantees the

View File

@ -247,7 +247,7 @@ EXTERN int gotdefterm;
EXTERN FILE *fscript; /* FILE for scripting */
EXTERN int fildes[2]; /* file transfer synchronization channel */
EXTERN int repdes[2]; /* read process sychronization channel */
EXTERN int repdes[2]; /* read process synchronization channel */
EXTERN int FD; /* open file descriptor to remote host */
EXTERN int AC; /* open file descriptor to dialer (v831 only) */
EXTERN int vflag; /* print .tiprc initialization sequence */