public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/misc/lvm-exec.c lib/repor ... Date: Thu, 04 Aug 2011 14:30:00 -0000 [thread overview] Message-ID: <20110804143054.13747.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-08-04 14:30:52 Modified files: . : WHATS_NEW lib/misc : lvm-exec.c lib/report : report.c libdm : libdm-report.c Log message: Remove meaningless const type qualifiers on cast type Static analyzis noticed we do not really need them - so removing. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2050&r2=1.2051 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/misc/lvm-exec.c.diff?cvsroot=lvm2&r1=1.12&r2=1.13 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/report/report.c.diff?cvsroot=lvm2&r1=1.144&r2=1.145 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-report.c.diff?cvsroot=lvm2&r1=1.45&r2=1.46 --- LVM2/WHATS_NEW 2011/08/04 12:40:25 1.2050 +++ LVM2/WHATS_NEW 2011/08/04 14:30:51 1.2051 @@ -1,5 +1,6 @@ Version 2.02.87 - =============================== + Remove meaningless const type qualifiers on cast type. Fix memory leak in dmsetup _message() memory allocation error path. Add test for fcntl error in singlenode client code. Remove --force option from lvrename manpage. --- LVM2/lib/misc/lvm-exec.c 2011/01/13 14:51:33 1.12 +++ LVM2/lib/misc/lvm-exec.c 2011/08/04 14:30:51 1.13 @@ -75,7 +75,7 @@ /* FIXME Fix effect of reset_locking on cache then include this */ /* destroy_toolcontext(cmd); */ /* FIXME Use execve directly */ - execvp(argv[0], (char **const) argv); + execvp(argv[0], (char **) argv); log_sys_error("execvp", argv[0]); _exit(errno); } --- LVM2/lib/report/report.c 2011/04/12 12:24:29 1.144 +++ LVM2/lib/report/report.c 2011/08/04 14:30:52 1.145 @@ -350,7 +350,7 @@ return 0; } - *sortval = (const uint64_t) size; + *sortval = (uint64_t) size; dm_report_field_set_value(field, repstr, sortval); --- LVM2/libdm/libdm-report.c 2011/06/12 19:49:41 1.45 +++ LVM2/libdm/libdm-report.c 2011/08/04 14:30:52 1.46 @@ -139,7 +139,7 @@ return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr; @@ -168,7 +168,7 @@ return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr; @@ -197,7 +197,7 @@ return 0; } - *sortval = (const uint64_t) value; + *sortval = (uint64_t) value; field->sort_value = sortval; field->report_string = repstr;
reply other threads:[~2011-08-04 14:30 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20110804143054.13747.qmail@sourceware.org \ --to=zkabelac@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).