Re: [PATCH v2 0/4] Makefile/coccicheck: fix bugs and speed it up

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

 



Am 07.03.21 um 21:09 schrieb Junio C Hamano:
> René Scharfe. <l.s.r@xxxxxx> writes:
>> Anyway, what about this more targeted approach:
>
> It is a targetted approach to solve a different problem from the
> original one.  I like the solution and the resulting code, but I
> also like the solution to the original problem, too ;-)

We can have both. :)  The semantic patch for correcting the argument
order of xcalloc calls allows the one for using CALLOC_ARRAY to be
simplified, as it doesn't have to do that normalization itself.

I can't bring myself to introduce special macros for allocating a
single object.  Let's first make use what we already have.

René




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux