]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: fix issue of signed and unsigned integer comparison and remove redundant...
authorXiaofei Tan <tanxiaofei@huawei.com>
Tue, 30 May 2023 10:44:12 +0000 (11:44 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 23 Oct 2023 08:49:39 +0000 (10:49 +0200)
commit3e5e29234b4dc546e4dae477908472b010c185b6
tree6c9b002467da30aac9bb26f07b929d4817f475d3
parent60f3e71528e5c52f6b105eee7372a4004793396d
rasdaemon: fix issue of signed and unsigned integer comparison and remove redundant header file

1. The return value of ARRAY_SIZE() is unsigned integer. It isn't right to
compare it with a signed integer. This patch fix them.

2. Remove redundant header file and adjust the header files sequence.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
non-standard-hisi_hip08.c
non-standard-hisilicon.c
ras-diskerror-handler.c
ras-memory-failure-handler.c