Re: [PATCH v2 01/12] gpib: agilent_82350b: Unify *allocate_private

From: Greg Kroah-Hartman

Date: Fri Jan 16 2026 - 02:35:11 EST


On Thu, Jan 15, 2026 at 07:20:04PM +0000, Dominik Karol Piątkowski wrote:
> Return values for *allocate_private functions as well as calling code in
> gpib driver are all over the place. Unify them by returning -errno if
> something fails, zero otherwise. Use the returned value as early return
> value in case of error. Replace kmalloc/memset pairs to kzalloc.

Wait, there is no kzalloc change here. You used the same changelog for
all of these patches :(