Fix typo
PATCH 1/1 Fix typo
From: Victor Cheng-Yen Yang <[email protected]>
Wrong -> correct:
- git -> Git
- github -> GitHub
- seperate/seperated -> separate/separated
- existance -> existence
- occured/occurence -> occurred/occurrence
- begining -> beginning
- comparision/comparisions -> comparison/comparisons
- non-existant/nonexistant -> non-existent/nonexistent
- postion -> position
- paramters -> parameters
- distict -> distinct
- writen -> written
--- doc/developers/test_case_tutorial.rst | 2 +- doc/maintainers/ltp_release_procedure.rst | 2 +- doc/maintainers/patch_review.rst | 2 +- testcases/cve/cve-2017-2671.c | 2 +- testcases/kernel/containers/mqns/mqns_03.c | 6 +++--- .../kernel/device-drivers/agp/kernel_space/str_agp.h | 4 ++-- .../kernel/device-drivers/agp/kernel_space/tagp.c | 2 +- .../kernel/device-drivers/agp/kernel_space/tagp.h | 2 +- .../dev_sim_framework/kernel_space/str_mod.h | 4 ++-- .../dev_sim_framework/kernel_space/tmod.c | 2 +- .../dev_sim_framework/kernel_space/tmod.h | 2 +- .../kernel/device-drivers/drm/kernel_space/str_drm.h | 4 ++-- .../kernel/device-drivers/tbio/tbio_kernel/str_tbio.h | 4 ++-- .../kernel/device-drivers/tbio/tbio_kernel/tbio.h | 2 +- testcases/kernel/io/direct_io/diotest2.c | 2 +- testcases/kernel/io/direct_io/diotest4.c | 8 ++++---- testcases/kernel/io/direct_io/diotest5.c | 2 +- testcases/kernel/io/direct_io/diotest_routines.c | 2 +- testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c | 2 +- testcases/kernel/mem/mem/mem02.c | 2 +- testcases/kernel/mem/mmapstress/mmapstress07.c | 2 +- testcases/kernel/mem/mmapstress/mmapstress08.c | 2 +- testcases/kernel/mem/mtest05/mmstress.c | 2 +- testcases/kernel/mem/mtest06/shmat1.c | 4 ++-- testcases/kernel/syscalls/close_range/close_range02.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl11.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl21.c | 2 +- testcases/kernel/syscalls/listmount/listmount04.c | 2 +- testcases/kernel/syscalls/llseek/llseek03.c | 6 +++--- testcases/kernel/syscalls/sigrelse/sigrelse01.c | 10 +++++----- testcases/realtime/func/prio-preempt/prio-preempt.c | 2 +- 31 files changed, 47 insertions(+), 47 deletions(-)
doc/developers/test_case_tutorial.rst +1 -1
@@ -800,7 +800,7 @@ master. 5d93b84d8 Add statx and other syscall numbers 5ca627b78 tutorial: Add a step-by-step C test tutorial -So we have told git to show all the commits which don't exist in ``master``, but +So we have told Git to show all the commits which don't exist in ``master``, but are in ``HEAD``, where ``HEAD`` is the top of the current branch. The current branch is ``tutorial-rebase2`` which I just created. I have already done one ``rebase`` and submitted a patch for review, so my original branch was just called
doc/maintainers/ltp_release_procedure.rst +1 -1
@@ -30,7 +30,7 @@ lists (see below). Have a look at `this release letter <https://lore.kernel.org/ltp/ZGNiQ1sMGvPU_ETp@yuki/>`_ to get the idea how it should look. -Tag the git and push changes to github +Tag the git and push changes to GitHub -------------------------------------- .. code-block:: bash
doc/maintainers/patch_review.rst +1 -1
@@ -122,7 +122,7 @@ Commit messages should have * Check also mailing lists for other reviewers / testers tags, notes and failure reports * ``Fixes: hash`` if it fixes particular LTP commit -* ``Fixes: #N`` if it fixes github issue number N, so it's automatically closed +* ``Fixes: #N`` if it fixes GitHub issue number N, so it's automatically closed * LTP documentation should be kept up to date. After patch is accepted or rejected, set correct state and archive in the
testcases/cve/cve-2017-2671.c +1 -1
@@ -16,7 +16,7 @@* lock. * * This test repeatedly 'connects' a ping socket correctly then calls -* connect() with AF_UNSPEC in two seperate threads to trigger the race +* connect() with AF_UNSPEC in two separate threads to trigger the race * condition. If the bug is present, then the test will most likely crash the * system. *
testcases/kernel/containers/mqns/mqns_03.c +3 -3
@@ -14,12 +14,12 @@* * - mq_open() /MQ1 * - mount mqueue inside the temporary folder -* - check for /MQ1 existance +* - check for /MQ1 existence * - creat() /MQ2 inside the temporary folder * - umount * - mount mqueue inside the temporary folder -* - check /MQ1 existance -* - check /MQ2 existance +* - check /MQ1 existence +* - check /MQ2 existence * - umount */
testcases/kernel/device-drivers/agp/kernel_space/str_agp.h +2 -2
@@ -18,12 +18,12 @@*/ /* -* Remember that you want to seperate your header +* Remember that you want to separate your header * files between what is needed in kernel space * only, and what will also be needed by a user * space program that is using this module. For * that reason keep all structures that will need -* kernel space pointers in a seperate header file +* kernel space pointers in a separate header file * from where ioctl flags aer kept * * author: Kai Zhao
testcases/kernel/device-drivers/agp/kernel_space/tagp.c +1 -1
@@ -342,7 +342,7 @@ struct agp_bridge_driver test_driver = { };/* -* test functions can go here or in a seperate file, +* test functions can go here or in a separate file, * remember that the makefile will have to be modified * as well as the header file will need the function * prototypes if the test calls go in another file
testcases/kernel/device-drivers/agp/kernel_space/tagp.h +1 -1
@@ -63,7 +63,7 @@#define TEST_GENERIC_MASK_MEMORY _IO(MAG_NUM, 21)/* memory between the kernel and user space is -seperated, so that if a structure is needed +separated, so that if a structure is needed to be passed between kernel and user space a call must be made to copy_to_user or copy from user. Use this structure to streamline
testcases/kernel/device-drivers/dev_sim_framework/kernel_space/str_mod.h +2 -2
@@ -17,12 +17,12 @@* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * -* Remember that you want to seperate your header +* Remember that you want to separate your header * files between what is needed in kernel space * only, and what will also be needed by a user * space program that is using this module. For * that reason keep all structures that will need -* kernel space pointers in a seperate header file +* kernel space pointers in a separate header file * from where ioctl flags aer kept * * author: Sean Ruyle
testcases/kernel/device-drivers/dev_sim_framework/kernel_space/tmod.c +1 -1
@@ -199,7 +199,7 @@ static int tmod_ioctl(struct inode *ino, struct file *f, }/* -* test functions can go here or in a seperate file, +* test functions can go here or in a separate file, * remember that the makefile will have to be modified * as well as the header file will need the function * prototypes if the test calls go in another file
testcases/kernel/device-drivers/dev_sim_framework/kernel_space/tmod.h +1 -1
@@ -44,7 +44,7 @@#define LTP_OTHER _IO(MAG_NUM, 2)/* memory between the kernel and user space is -seperated, so that if a structure is needed +separated, so that if a structure is needed to be passed between kernel and user space a call must be made to copy_to_user or copy from user. Use this structure to streamline
testcases/kernel/device-drivers/drm/kernel_space/str_drm.h +2 -2
@@ -17,12 +17,12 @@* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * -* Remember that you want to seperate your header +* Remember that you want to separate your header * files between what is needed in kernel space * only, and what will also be needed by a user * space program that is using this module. For * that reason keep all structures that will need -* kernel space pointers in a seperate header file +* kernel space pointers in a separate header file * from where ioctl flags aer kept * * author: Kai Zhao
testcases/kernel/device-drivers/tbio/tbio_kernel/str_tbio.h +2 -2
@@ -17,12 +17,12 @@* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * -* Remember that you want to seperate your header +* Remember that you want to separate your header * files between what is needed in kernel space * only, and what will also be needed by a user * space program that is using this module. For * that reason keep all structures that will need -* kernel space pointers in a seperate header file +* kernel space pointers in a separate header file * from where ioctl flags aer kept * * author: Sean Ruyle
testcases/kernel/device-drivers/tbio/tbio_kernel/tbio.h +1 -1
@@ -51,7 +51,7 @@ int TBIO_MAJOR;#define LTP_TBIO_ADD_PAGE _IO(MAG_NUM,7)/* memory between the kernel and user space is -seperated, so that if a structure is needed +separated, so that if a structure is needed to be passed between kernel and user space a call must be made to copy_to_user or copy from user. Use this structure to streamline
testcases/kernel/io/direct_io/diotest2.c +1 -1
@@ -116,7 +116,7 @@ int runtest(int fd_r, int fd_w, int iter, off_t offset, int action)return (-1 ); }if (bufcmp (buf1, buf2, bufsize) !=0 ) { -tst_resm (TFAIL ,"read/write comparision failed" ); +tst_resm (TFAIL ,"read/write comparison failed" );return (-1 ); } }
testcases/kernel/io/direct_io/diotest4.c +4 -4
@@ -42,7 +42,7 @@* [13] write to file not open for writing * [14] read, write with non-aligned buffer * [15] read, write buffer in read-only space -* [16] read, write in non-existant space +* [16] read, write in non-existent space * [17] read, write for file with O_SYNC * * USAGE
@@ -499,7 +499,7 @@ int main(int argc, char *argv[])close (fd); total++; -/* Test-16: read, write in non-existant space */ +/* Test-16: read, write in non-existent space */ offset =4096 ; count = bufsize; if ((buf1 =
@@ -511,9 +511,9 @@ int main(int argc, char *argv[]) "open(%s, O_DIRECT|O_RDWR) failed", filename); } ret =runtest_f (fd, buf1, offset, count,EFAULT ,16 , -" nonexistant space" ); +" nonexistent space" );testcheck_end (ret, &failed, &fail_count, -"read, write in non-existant space" ); +"read, write in non-existent space" ); total++;close (fd);
testcases/kernel/io/direct_io/diotest5.c +1 -1
@@ -138,7 +138,7 @@ int runtest(int fd_r, int fd_w, int iter, off_t offset, int action)return (-1 ); }if (vbufcmp (iov1, iov2, nvector) !=0 ) { -tst_resm (TFAIL ,"readv/writev comparision failed" ); +tst_resm (TFAIL ,"readv/writev comparison failed" );return (-1 ); } }
testcases/kernel/io/direct_io/diotest_routines.c +1 -1
@@ -47,7 +47,7 @@#include "diotest_routines.h" -/* **** Routines for buffer actions, comparisions **** */ +/* **** Routines for buffer actions, comparisons **** */ /* * fillbuf: Fill buffer of given size with given character value
testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c +1 -1
@@ -7,7 +7,7 @@/*\ * Kernel has bug in mremap for some architecture. mremap() can cause * crashes on architectures with holes in the address space (like ia64) -* and on powerpc with it's distict page size slices. +* and on powerpc with it's distinct page size slices. * * This test perform mremap() with normal and hugepages around powerpc * slice boundary.
testcases/kernel/mem/mem/mem02.c +1 -1
@@ -33,7 +33,7 @@< successful. < In the case of valloc, allocate memory and free it (do this for < several iterations). Check if valloc returns unaligned pointers. -< If valloc causes a SIGSEGV, that means a failure has occured. +< If valloc causes a SIGSEGV, that means a failure has occurred. >BUGS: < ======================================================================*/
testcases/kernel/mem/mmapstress/mmapstress07.c +1 -1
@@ -249,7 +249,7 @@ int main(int argc, char **argv)#else /* LARGE_FILE */ if (lseek (rofd, sparseoff,SEEK_SET ) ==-1 ) {#endif /* LARGE_FILE */ -CLEANERROR ("couldn't lseek to begining to verify contents" ); +CLEANERROR ("couldn't lseek to beginning to verify contents" );anyfail ();/* LTP Port */ }if (munmap (mapaddr, holesize +2 * pagesize) ==-1 ) {
testcases/kernel/mem/mmapstress/mmapstress08.c +1 -1
@@ -74,7 +74,7 @@ extern long sysconf(int name); local_flag =FAILED ;anyfail (); } -/* The brk is now at the begining of a page. */ +/* The brk is now at the beginning of a page. */ if ((munmap_begin = mmapaddr = (caddr_t )sbrk (0 )) == (caddr_t) -1 ) {ERROR ("couldn't find top of brk" );
testcases/kernel/mem/mtest05/mmstress.c +1 -1
@@ -201,7 +201,7 @@ static void *thread_fault(void *args)* (pages_num / NUMTHREAD) * local_args[PAGESIZ]); char read_from_addr = 0; /* address to which read from page is done */ -char write_to_addr[] = {'a' };/* character to be writen to the page */ +char write_to_addr[] = {'a' };/* character to be written to the page */ /*************************************************************/ /* The way it was, args could be overwritten by subsequent uses
testcases/kernel/mem/mtest06/shmat1.c +2 -2
@@ -171,8 +171,8 @@ static void sig_handler(int signal, /* signal number, set to handle SIGALRMsiglongjmp (jmpbuf,1 ); }else {fprintf (stderr, -"address at which sigfault occured: [%lx]\n" -"address at which sigfault occured: [%lx]\n" +"address at which sigfault occurred: [%lx]\n" +"address at which sigfault occurred: [%lx]\n" "address at which memory was shmat: [%p]\n" , (unsigned long )scp->edi, (unsigned long )scp->esi, map_address);
testcases/kernel/syscalls/close_range/close_range02.c +1 -1
@@ -4,7 +4,7 @@*/ /*\ * - First check close_range works on a valid range. -* - Then check close_range does not accept invalid paramters. +* - Then check close_range does not accept invalid parameters. * - Then check it accepts a large lower fd. * - Finally check CLOEXEC works *
testcases/kernel/syscalls/fcntl/fcntl11.c +1 -1
@@ -266,7 +266,7 @@ int main(int ac, char **av)/* * Add a write lock to the middle of the file and a read -* at the begining +* at the beginning */ if (do_lock (F_SETLK , (short )F_WRLCK , (short )0 ,10 ,5 ) <0 )tst_resm (TFAIL |TERRNO ,"fcntl on file failed" );
testcases/kernel/syscalls/fcntl/fcntl21.c +1 -1
@@ -377,7 +377,7 @@ int main(int ac, char **av)/* * Add a read lock to the middle of the file and a write -* at the begining +* at the beginning */ if (do_lock (F_SETLK , (short )F_RDLCK , (short )0 ,10 ,5 ) <0 ) { tst_resm(TFAIL, "fcntl on file failed, errno =%d",
testcases/kernel/syscalls/listmount/listmount04.c +1 -1
@@ -129,7 +129,7 @@ static struct tcase { .mnt_ids = mnt_ids, .nr_mnt_ids = MNT_SIZE, .exp_errno = ENOENT, - .msg = "non-existant mnt_id", + .msg = "non-existent mnt_id", }, };
testcases/kernel/syscalls/llseek/llseek03.c +3 -3
@@ -11,11 +11,11 @@* 1. llseek() succeeds to set file position in the middle of the data. The * file offset is checked by reading from a file and comparing the data. * -* 2. llseek() succeeds to set file postion to the end of the data, reading -* this postion returns 0. +* 2. llseek() succeeds to set file position to the end of the data, reading +* this position returns 0. * * 3. llseek() succeeds to set file position after the end of the data, -* reading from this postion returns 0 as well. +* reading from this position returns 0 as well. */ #define _GNU_SOURCE
testcases/kernel/syscalls/sigrelse/sigrelse01.c +5 -5
@@ -347,7 +347,7 @@ static void parent(void)break ;case HANDLE_ERR :/* more than one signal tried to be handled at the same time */ -tst_resm (TBROK ,"Error occured in signal handler." ); +tst_resm (TBROK ,"Error occurred in signal handler." );break ;default :tst_resm (TBROK ,"Unexpected exit code %d from child" , rv);
@@ -377,11 +377,11 @@ static void child(void)/* set alarm in case something hangs */ if (set_timeout () <0 ) { -/* an error occured - put mesg in note and send it back to parent */ +/* an error occurred - put mesg in note and send it back to parent */ (void )strcpy (note, mesg); }else if (setup_sigs () <0 ) { -/* an error occured - put mesg in note and send it back to parent */ +/* an error occurred - put mesg in note and send it back to parent */ (void )strcpy (note, mesg); }else {
@@ -481,7 +481,7 @@ static void child(void)/* * If we are error free so far... -* check the sig_array array for one occurence of +* check the sig_array array for one occurrence of * each of the catchable signals. If this is true, * then PASS, otherwise FAIL. */
@@ -589,7 +589,7 @@ static char *read_pipe(int fd)/* set timeout alarm in case the pipe is blocked */ if (set_timeout () <0 ) { -/* an error occured, message in mesg */ +/* an error occurred, message in mesg */ return NULL ; }
testcases/realtime/func/prio-preempt/prio-preempt.c +1 -1
@@ -33,7 +33,7 @@* * where Mi is the ith pthread_mutex_t and CVi is the ith conditional * variable.So, at the end of this loop, 26 threads are all waiting on -* seperate condvars and mutexes. +* separate condvars and mutexes. * - Wakes up thread at priority 10 (T1) by executing: * pthread_mutex_lock(M1); * pthread_cond_signal(CV1);
Signature · 5 lines
2.55.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Victor,
Quoted 1 line · Victor Cheng-Yen Yang
[PATCH] Fix typo
Verdict - Reviewed
---
Note:
The agent can sometimes produce false positives although often its findings are genuine. If you find issues with the review, please comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Andrea Cervesato via ltp
AppliedMerged, Thanks!
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp