summaryrefslogtreecommitdiff
path: root/str.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+12
Break out all string handling functions and lockme stuff in order to further eliminate the big code blob in xutils, so that it can be easier maintained. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
el'>space:mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-17 17:33:10 +0200
committerShaohua Li <shli@fb.com>2016-07-19 11:00:47 -0700
commit0e3ef49eda5bae3aa75aa8c0276411bf0f27e03a (patch)
tree7c4a99c0ef5930b3380aa01bf754066d11b0ab2a /Documentation/devicetree
parentd787be4092e27728cb4c012bee9762098ef3c662 (diff)
md: use seconds granularity for error logging
The md code stores the exact time of the last error in the last_read_error variable using a timespec structure. It only ever uses the seconds portion of that though, so we can use a scalar for it. There won't be an overflow in 2038 here, because it already used monotonic time and 32-bit is enough for that, but I've decided to use time64_t for consistency in the conversion. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'Documentation/devicetree')