diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2023-08-10 21:50:04 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-08-11 11:10:55 +0100 |
| commit | 57647e6fdf174e3c84072a39d901036f867e4192 (patch) | |
| tree | ef64a69bba68aba8fe2c0e8cefed1f7d385649a5 /net/lapb/lapb_timer.c | |
| parent | e08190ef514fd3c7e45826cd0d427d4133361192 (diff) | |
bonding: use IS_ERR instead of NULL check in bond_create_debugfs
Because debugfs_create_dir returns ERR_PTR, so IS_ERR should be used to
check whether the directory is successfully created.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
