diff options
| author | Dan Carpenter <[email protected]> | 2020-06-08 14:17:27 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2020-06-08 20:29:36 +0000 |
| commit | de9be772c6794f27d1aa02d90d370b724cb67fd7 (patch) | |
| tree | 35aebabf66a40c490a5a0ad4ee5a92a9fd199cdb /net/tipc/msg.c | |
| parent | i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n (diff) | |
| download | kernel-de9be772c6794f27d1aa02d90d370b724cb67fd7.tar.gz kernel-de9be772c6794f27d1aa02d90d370b724cb67fd7.zip | |
i2c: npcm7xx: Fix a couple of error codes in probe
The code here is accidentally returning IS_ERR() which is 1 but it
should be returning negative error codes with PTR_ERR().
Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions
