Re: [PATCH] checkpatch: struct of_device_id should usually be const

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

 




On Wed, 2014-09-10 at 09:15 +0200, Uwe Kleine-König wrote:
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -4941,6 +4941,7 @@ sub process {
>  				mtrr_ops|
>  				neigh_ops|
>  				nlmsvc_binding|
> +				of_device_id|
>  				pci_raw_ops|
>  				pipe_buf_operations|
>  				platform_hibernation_ops|

Fine by me, there are ~1200 or so const uses.

There are also ~350 of these that are not const.

Are most all of those supposed to be const?

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux