mirror of https://gitee.com/openkylin/linux.git
IEEE 1394 subsystem patch:
- Occurrences of timeval were supposed to be eliminated last round, now remove a last forgotten one. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJW9PnoAAoJEHnzb7JUXXnQlBAQAOZELI61TS2XAk+94EvxODgY FrTOzZFGDUlXlkdyI7Smlla1D6LwV47FCRpZYTuf4z1xD5+nT9RcvxjiaAGUZxmJ swhdei74LPRIW7OfVtODz7kLsNLBJM1Le6+kVfugxDPxaOMFn7oqn7TsLakg005l gyzhP7NnZm15IuUnGpjjZgx1utNvVeMZ+0GdhUfTzVHPyHzYh0iquYC8yCnW2AfT Z9PN5j5XKdE/sJDTtWwq2hvSaDfUr6cybNkk+jYGIn9qxtTdUebg+ZddoU0aLo6L DsJPUdAQ2mo9rrjJchR5v+jbbZ2AYDFFUz8GfJceUvc2dcllm7WQsYQO4AsRM0A7 YllY8xzkK11Mid7ZxoHpj6F8c6ZJztPZ2qT/H58KgGngkn4frkPCGMkverTRF2Yp D/bxQ/sRifK3kLWxTjHEcomifXasvHtj4Cwfklcu1RqCJuKgMawhrtjktjqTZKFC vfG9OoRb6xV2RJtAnDVz+QuaGklPLP/NekQzFGryHYWHCEjI62sH8+WUhVkOs+m5 1/23N4mqJ/sOurp3Gj0a19lKiAbAAYHMp2v8vLWC7dfQ7VhJC/K0vEQm0HL0Bvwf FqIUg6QqfVYjckdL9Fh/0XCMKrOF9Qb59JWOWXPnFjuc7KD2/s/vpfgby6cP+14/ D1NrNVkp2bEiLZ9avdSL =S0zD -----END PGP SIGNATURE----- Merge tag 'firewire-update2' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 Pull firewire leftover from Stefan Richter: "Occurrences of timeval were supposed to be eliminated last round, now remove a last forgotten one" * tag 'firewire-update2' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394: firewire: nosy: Replace timeval with timespec64
This commit is contained in:
commit
3b3b3bd977
|
@ -446,14 +446,16 @@ static void
|
|||
bus_reset_irq_handler(struct pcilynx *lynx)
|
||||
{
|
||||
struct client *client;
|
||||
struct timeval tv;
|
||||
struct timespec64 ts64;
|
||||
u32 timestamp;
|
||||
|
||||
do_gettimeofday(&tv);
|
||||
ktime_get_real_ts64(&ts64);
|
||||
timestamp = ts64.tv_nsec / NSEC_PER_USEC;
|
||||
|
||||
spin_lock(&lynx->client_list_lock);
|
||||
|
||||
list_for_each_entry(client, &lynx->client_list, link)
|
||||
packet_buffer_put(&client->buffer, &tv.tv_usec, 4);
|
||||
packet_buffer_put(&client->buffer, ×tamp, 4);
|
||||
|
||||
spin_unlock(&lynx->client_list_lock);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue