Better alternative to strncpy in QEMU.

2021-04-11 Thread Chetan
on is true, * break from the loop. */ if (i == (destination_size - 1)) {break; }} return destination;} * Regards, Chetan P.

Re: Better alternative to strncpy in QEMU.

2021-04-12 Thread Chetan
could be done (but is a bigger headache to implement correctly) would be to cast the char* into uint64_t* (or uint32_t* for 32-bit >systems) and copy more bytes at a time. The headache comes from finding a 0 in this longer variable, but you can probably use a similar strategy to freebsd's >

Re: [PATCH 1/5] Fixing Lesser GPL version number [1/5]

2020-10-09 Thread Chetan
s I maintain and the typos are largely >my fault :-) Thanks Daniel, as the idea was to get familiar with the process of sending patches. I’ll draft and split the patches again as per your and Eric’s comments and then send them again. Regards, Chetan P. On Fri, Oct 9, 2020 at 7:13 PM Daniel

Re: [PATCH 8/30] powerpc tcg: Fix Lesser GPL version number

2020-10-19 Thread Chetan
he end of this week. Please let me know if it's not the right way and if I should send the remaining patches in one go. Regards, Chetan P. On Mon, Oct 19, 2020 at 4:13 PM Daniel P. Berrangé wrote: > This subject line says 8/30, but I've never received patches > 9->30, an

Re: [PATCH v1 21/21] contrib/gitdm: add more individual contributor entries.

2021-07-14 Thread Chetan
> Again this is guess work based on public websites. > > > > - Chetan lists himself as a freelancer on twitter. > > - Akihiko lists themselves as an individual developer on GitHub > > - Jiaxun's website looks like a personal one > > > > [AJB: Won't mer

Re: [PATCH] Fixing LGPL version number

2020-10-08 Thread Chetan
ful to include it in the commit description.* Sure, I'll be including the commands/script I use. Chetan On Thu, Oct 8, 2020 at 1:27 PM Thomas Huth wrote: > On 08/10/2020 09.54, Philippe Mathieu-Daudé wrote: > > Hi, > > > > On 10/8/20 8:05 AM, Chetan Pant wrote:

Re: [PATCH] Fixing LGPL version number

2020-10-08 Thread Chetan
PL" (and do not mention "Lesser") ... they could also refer to the GNU >*Library* GPL instead, which was available as version 2 (in the sense of 2.0). >Could you please drop the hunks for the files that only mention LGPL for now? Ok. I'll exclude the files which mention just LGP

Re: [PATCH] Fixing LGPL version number

2020-10-08 Thread Chetan
Daniel, I won't be proceedings with the license text changes. On Thursday, October 8, 2020, Daniel P. Berrangé wrote: > On Thu, Oct 08, 2020 at 02:10:01PM +0530, Chetan wrote: > > Hello, > > > > I'll be working on replacing the license text in LGPL licensed files with

[PATCH 1/30] cryptodev: Fix Lesser GPL version number

2020-10-14 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section. S

[PATCH 2/30] io: Fix Lesser GPL version number

2020-10-14 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 3/30] crypt: Fix Lesser GPL version number

2020-10-14 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 4/30] authz: Fix Lesser GPL version number

2020-10-14 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in com

[PATCH 5/30] mips tcg: Fix Lesser GPL version number

2020-10-16 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comm

[PATCH 6/30] semihosting: Fix Lesser GPL version number

2020-10-16 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment secti

[PATCH 7/30] non-virt: Fix Lesser GPL version number

2020-10-16 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment s

[PATCH 8/30] powerpc tcg: Fix Lesser GPL version number

2020-10-18 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment sect

[PATCH 9/30] cris tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment

[PATCH 12/30] xtensa tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 11/30] prep: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 10/30] microblaze tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment sectio

[PATCH 13/30] tricore tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in c

[PATCH 14/30] usb: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 15/30] linux user: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment s

[PATCH 16/30] boston: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment sec

[PATCH 18/30] arm tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment sec

[PATCH 17/30] x86 tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section

[PATCH 21/30] overall usermode...: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment secti

[PATCH 19/30] parallel nor flas...: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 20/30] migration: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment se

[PATCH 23/30] tpm: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 22/30] overall/alpha tcg cpus|hppa: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comm

[PATCH 24/30] w32: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section. S

[PATCH 25/30] nvdimm: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 26/30] renesas rx cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 28/30] e1000e: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section.

[PATCH 27/30] x86 hvf cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment sectio

[PATCH 30/30] nomaintainer: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
This patch contains all the files, whose maintainer I could not get from ‘get_maintainer.pl’ script. Signed-off-by: Chetan Pant --- block/crypto.c | 2 +- block/crypto.h | 2 +- disas/lm32.c | 2 +

[PATCH 29/30] sparc tcg cpus: Fix Lesser GPL version number

2020-10-23 Thread Chetan Pant
There is no "version 2" of the "Lesser" General Public License. It is either "GPL version 2.0" or "Lesser GPL version 2.1". This patch replaces all occurrences of "Lesser GPL version 2" with "Lesser GPL version 2.1" in comment section

[PATCH 1/5] Fixing Lesser GPL version number [1/5]

2020-10-08 Thread Chetan Pant
urence exactly 1 time were corrected using below command: sed -i "s/version 2 /version 2.1 /g" $(cat one_timers.dat) For rest of 7 files, correction was done manually. Signed-off-by: Chetan Pant --- authz/base.c | 2 +- authz/list.c

[PATCH 4/5] Fixing Lesser GPL version number [4/5]

2020-10-08 Thread Chetan Pant
urence exactly 1 time were corrected using below command: sed -i "s/version 2 /version 2.1 /g" $(cat one_timers.dat) For rest of 7 files, correction was done manually. Signed-off-by: Chetan Pant --- target/lm32/cpu.h| 2 +- target/lm32/gdbstub.c

[PATCH 2/5] Fixing Lesser GPL version number [2/5]

2020-10-08 Thread Chetan Pant
license text mentioned: "You should have received a copy of the GNU Lesser General Public" But the file was actually using "GNU General Public License, version 2 or later," which was confusing so I've not included the that change in this patch. So in fact, only 99 files a

[PATCH 3/5] Fixing Lesser GPL version number [3/5]

2020-10-08 Thread Chetan Pant
urence exactly 1 time were corrected using below command: sed -i "s/version 2 /version 2.1 /g" $(cat one_timers.dat) For rest of 7 files, correction was done manually. Signed-off-by: Chetan Pant --- target/alpha/cpu.h | 2 +- target/alpha/fpu_helper.c

[PATCH 5/5] Fixing Lesser GPL version number [5/5]

2020-10-09 Thread Chetan Pant
urence exactly 1 time were corrected using below command: sed -i "s/version 2 /version 2.1 /g" $(cat one_timers.dat) For rest of 7 files, correction was done manually. Signed-off-by: Chetan Pant --- cpus-common.c | 2 +- exec-vary.c