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

Re: [PATCH v2 1/3] misra: deviate MISRA C Rule 5.5 for 'hypfs_alloc_dyndata()'



On Sun, Jul 12, 2026 at 02:04:44PM +0000, Dmytro Prokopchuk1 wrote:
> +       Clash between hypfs_alloc_dyndata() function and macro names is 
> allowed
> +       because the macro is a typed convenience wrapper around the size-based
> +       allocation function.

Is this really the whole reason for this?  The macro is a wrapper to the
function, so it must be named the same?

If there is a deeper meaning, this should be documented here.  Looking
at the current code, there is no documention at least in the code
directly.  And the function is used once?!?

Bastian

-- 
... The prejudices people feel about each other disappear when they get
to know each other.
                -- Kirk, "Elaan of Troyius", stardate 4372.5



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.