Re: [PATCH] char: scx200_gpio: check cdev_add() return value
From: Linkai Gong
Date: Sun Aug 02 2026 - 22:26:40 EST
On Fri, Jul 31, 2026 at 14:22:47 +0200, Greg Kroah-Hartman wrote:
> Should just be:
> if (rc) {
>
> right?
Yes, thanks for the suggestion, and sorry for the noise earlier
(including an empty reply).
I have already sent a v2 with "if (rc)" as you suggested.