realtek: 5.15: Improve error handling in rtl838x_pie_rule_write()
authorPascal Ernster <git@hardfalcon.net>
Thu, 5 Jan 2023 05:56:38 +0000 (06:56 +0100)
committerSander Vanheule <sander@svanheule.net>
Thu, 5 Jan 2023 22:09:23 +0000 (23:09 +0100)
commit720b2431716b16a93848e10788ae6d36856a34b2
treedf61cb6d79515b0e9e44d1b796076b496d8d3653
parenta188536ef6507e30cba218182e673349ea48cbe7
realtek: 5.15: Improve error handling in rtl838x_pie_rule_write()

In target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c,
make rtl838x_pie_rule_write() return non-zero value case of error.

Signed-off-by: Pascal Ernster <git@hardfalcon.net>
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c