Re: [bug report] drm/nouveau/mmu/r535: initial support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Tue, 2023-11-07 at 19:11 +0100, Danilo Krummrich wrote:
I think the problem already starts with gf100_bar_new_() not setting its
pbar argument to NULL on failure, but this code assuming that.

Isn't it standard procedure for functions not to write to output parameters on failure?  

Generally, I think it would be better if all those functions would return
an ERR_PTR on failure.

Agreed.

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux