Message ID | 20220811120822.16832-1-wangborong@cdjrlc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | EDAC/altera: Fix comment typo | expand |
On 8/11/22 07:08, Jason Wang wrote: > The double `the' is duplicated in the comment, remove one. > > Signed-off-by: Jason Wang <wangborong@cdjrlc.com> > --- > drivers/edac/altera_edac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c > index e7e8e624a436..940f8149172c 100644 > --- a/drivers/edac/altera_edac.c > +++ b/drivers/edac/altera_edac.c > @@ -168,7 +168,7 @@ static ssize_t altr_sdr_mc_err_inject_write(struct file *file, > /* > * To trigger the error, we need to read the data back > * (the data was written with errors above). > - * The READ_ONCE macros and printk are used to prevent the > + * The READ_ONCE macros and printk are used to prevent > * the compiler optimizing these reads out. > */ > reg = READ_ONCE(ptemp[0]); Acked-by: Dinh Nguyen <dinguyen@kernel.org>
diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c index e7e8e624a436..940f8149172c 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c @@ -168,7 +168,7 @@ static ssize_t altr_sdr_mc_err_inject_write(struct file *file, /* * To trigger the error, we need to read the data back * (the data was written with errors above). - * The READ_ONCE macros and printk are used to prevent the + * The READ_ONCE macros and printk are used to prevent * the compiler optimizing these reads out. */ reg = READ_ONCE(ptemp[0]);
The double `the' is duplicated in the comment, remove one. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> --- drivers/edac/altera_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)