Message ID | 1442497557-9271-3-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | cb2c316b22d89072643d2685ef0eb883cae8a9de |
Headers | show |
On 17 September 2015 at 14:45, Lee Jones <lee.jones@linaro.org> wrote: > In April 2009, commit d405640 ("Driver Core: misc: add node name support > for misc devices.") inadvertently changed the device node name from > /dev/hw_random to /dev/hwrng. Since 6 years has passed since the change > it seems unpractical to change it back, as this node name is probably > considered ABI by now. So instead, we'll just change the Kconfig help > to match the current situation. > > NB: It looks like rng-tools have already been updated. > > Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Kieran Bingham <kieranbingham@gmail.com> > --- > drivers/char/hw_random/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig > index f48cf11..8998108 100644 > --- a/drivers/char/hw_random/Kconfig > +++ b/drivers/char/hw_random/Kconfig > @@ -10,7 +10,7 @@ menuconfig HW_RANDOM > > To compile this driver as a module, choose M here: the > module will be called rng-core. This provides a device > - that's usually called /dev/hw_random, and which exposes one > + that's usually called /dev/hwrng, and which exposes one > of possibly several hardware random number generators. > > These hardware random number generators do not feed directly > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index f48cf11..8998108 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -10,7 +10,7 @@ menuconfig HW_RANDOM To compile this driver as a module, choose M here: the module will be called rng-core. This provides a device - that's usually called /dev/hw_random, and which exposes one + that's usually called /dev/hwrng, and which exposes one of possibly several hardware random number generators. These hardware random number generators do not feed directly
In April 2009, commit d405640 ("Driver Core: misc: add node name support for misc devices.") inadvertently changed the device node name from /dev/hw_random to /dev/hwrng. Since 6 years has passed since the change it seems unpractical to change it back, as this node name is probably considered ABI by now. So instead, we'll just change the Kconfig help to match the current situation. NB: It looks like rng-tools have already been updated. Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)