Skip to content
Commit 6dbd4341 authored by Quan Nguyen's avatar Quan Nguyen Committed by Corey Minyard
Browse files

ipmi: ssif_bmc: Use EPOLLIN instead of POLLIN



This fixes the following sparse warning:
sparse warnings: (new ones prefixed by >>)
>> drivers/char/ipmi/ssif_bmc.c:254:22: sparse: sparse: invalid assignment: |=
>> drivers/char/ipmi/ssif_bmc.c:254:22: sparse:    left side has type restricted __poll_t
>> drivers/char/ipmi/ssif_bmc.c:254:22: sparse:    right side has type int

Fixes: dd2bc5cc ("ipmi: ssif_bmc: Add SSIF BMC driver")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/all/202210181103.ontD9tRT-lkp@intel.com/


Signed-off-by: default avatarQuan Nguyen <quan@os.amperecomputing.com>
Message-Id: <20221024075956.3312552-1-quan@os.amperecomputing.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent c608966f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment