Re: [PATCH] syscall.h: fix comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I actually find the file reference quite useful for me to look for
syscalls definition.

Vào Th 7, 18 thg 7, 2020 vào lúc 07:20 Thomas Gleixner
<tglx@xxxxxxxxxxxxx> đã viết:
>
> Bui Quang Minh <minhquangbui99@xxxxxxxxx> writes:
>
> > The comment shows wrong file name that contains the syscalls' definition
> >
> > Signed-off-by: Bui Quang Minh <minhquangbui99@xxxxxxxxx>
> > ---
> >  include/linux/syscalls.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
> > index 1815065d52f3..a3d053f715e2 100644
> > --- a/include/linux/syscalls.h
> > +++ b/include/linux/syscalls.h
> > @@ -741,7 +741,7 @@ asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv,
> >  asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
> >  asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p);
> >
> > -/* kernel/timer.c */
> > +/* kernel/sys.c */
>
> How about just removing the file reference completely. It has no value
> at all.
>
> Thanks,
>
>         tglx




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux