Re: [PATCH 08/18] ledtrig-blkdev: Add miscellaneous helper functions

Ian Pilcher
2021-09-04T22:43:32Z

On 9/4/21 1:00 AM, Greg KH wrote:
> Why are block devices odd and need to have spaces found in their names?

They aren't. The functions are used to identify the block device names
within the buffer that is passed to attribute store functions, which may
contain whitespace.

> And are you sure we do not already have string functions that do this?

I did look a bit. I can't be sure, but I didn't find anything similar.

--
========================================================================
In Soviet Russia, Google searches you!
========================================================================