Re: [tip:timers/core] mmtimer: Remove the SGI SN2 mmtimer driver

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

 



On Fri, 2017-05-26 at 03:58 -0700, tip-bot for Christoph Hellwig wrote:
> Commit-ID:  07903ada96139ced48f2f893fe57a26a8fbc6043

Couple trivial comments:

> mmtimer: Remove the SGI SN2 mmtimer driver
[]
>  drivers/char/mmtimer.c    | 858 ----------------------------------------------
>  include/uapi/linux/time.h |   6 +-
[]
> diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c
> deleted file mode 100644
> index 0e7fcb0..0000000
> --- a/drivers/char/mmtimer.c
> +++ /dev/null
> @@ -1,858 +0,0 @@
> -/*

[ etc...]

In the future, please use git format-patch -M to avoid
listing the
contents of the file deletion.

> diff --git a/include/uapi/linux/time.h b/include/uapi/linux/time.h
[]
> @@ -54,7 +54,11 @@ struct itimerval {
>  #define CLOCK_BOOTTIME			7
>  #define CLOCK_REALTIME_ALARM		8
>  #define CLOCK_BOOTTIME_ALARM		9
> -#define CLOCK_SGI_CYCLE			10	/* Hardware specific */
> +/*
> + * The driver implementing this got removed. The clock ID is kept as a
> + * place holder. Do not reuse!
> + */
> +#define CLOCK_SGI_CYCLE			10
>  #define CLOCK_TAI			11
>  
>  #define MAX_CLOCKS			16

Here the "this" comment is a bit ambiguous.

It might be better to rename CLOCK_SGI_CYCLE as well.
Maybe something like CLOCK_SGI_CYCLE_DELETED_DRIVER_DONT_REUSE.

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux