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

Re: [PATCH v3 12/15] unxz: replace INIT{,DATA} and STATIC





On 15/04/2021 15:22, Jan Beulich wrote:
On 15.04.2021 16:18, Julien Grall wrote:


On 15/04/2021 15:16, Jan Beulich wrote:
On 15.04.2021 13:58, Julien Grall wrote:
On 26/01/2021 09:52, Jan Beulich wrote:
--- a/xen/common/decompress.h
+++ b/xen/common/decompress.h
@@ -9,7 +9,6 @@
#define STATIC static
    #define INIT __init
-#define INITDATA __initdata
#define malloc xmalloc_bytes
    #define free xfree
@@ -21,7 +20,6 @@
#define STATIC static
    #define INIT
-#define INITDATA

Shouldn't the two changes be part of patch #14?

One could do it that way, sure, but the last uses are gone here,
and hence I wanted to get rid of this one item right away.

AFAICT, the same is true for STATIC and INIT. So it doesn't sense to not
be consistent in the way you treat them.

No, further uses of STATIC and INIT get dropped by later patches.

I think you misundertood my comment. What I meant is you drop INIT in patch #14 when the last caller was dropped in a previous patch.

Cheers,

--
Julien Grall



 


Rackspace

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