fs/poll: change format for type pollevent_t
complete the following commits: commitd87cf8d4ca
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> Date: Fri Apr 1 20:59:55 2022 +0800 fs/poll: change format for type pollevent_t Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> commitd535943a69
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> Date: Fri Apr 1 17:49:10 2022 +0800 fs/epoll: change type of eventset from uint8_t to uint32_t to support EPOLLONESHOT and so on. Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
e93100cb4d
commit
ba5320c36f
|
@ -124,7 +124,7 @@ static void lirc_pollnotify(FAR struct lirc_fh_s *fh,
|
|||
|
||||
if (fh->fd->revents != 0)
|
||||
{
|
||||
rcinfo("Report events: %02x\n", fh->fd->revents);
|
||||
rcinfo("Report events: %08" PRIx32 "\n", fh->fd->revents);
|
||||
|
||||
nxsem_get_value(fh->fd->sem, &semcount);
|
||||
if (semcount < 1)
|
||||
|
|
|
@ -167,7 +167,7 @@ static void sensor_pollnotify(FAR struct sensor_upperhalf_s *upper,
|
|||
|
||||
if (fd->revents != 0)
|
||||
{
|
||||
sninfo("Report events: %02x\n", fd->revents);
|
||||
sninfo("Report events: %08" PRIx32 "\n", fd->revents);
|
||||
|
||||
nxsem_get_value(fd->sem, &semcount);
|
||||
if (semcount < 1)
|
||||
|
|
Loading…
Reference in New Issue