Re: [PATCH 24/61] sysfs: make sysfs_put() ignore NULL sd

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Wed Jul 11 2007 - 20:07:39 EST


In article <11841968512510-git-send-email-gregkh@xxxxxxx> (at Wed, 11 Jul 2007 16:31:43 -0700), Greg Kroah-Hartman <gregkh@xxxxxxx> says:

> Make sysfs_put() ignore NULL sd instead of oopsing.

I do not think this is a good idea; it is non-sense (and rather a bug)
to call "put" with NULL argument in general.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/