mbox series

[0/4] fstest: fix compilation warnings

Message ID cover.1674870429.git.anand.jain@oracle.com (mailing list archive)
Headers show
Series fstest: fix compilation warnings | expand

Message

Anand Jain Jan. 29, 2023, 2:42 a.m. UTC
This patch set addresses several compilation warnings and is based on
the for-next.

Anand Jain (4):
  fstests: doio.c, fix missing initialization of -C arg
  fstests: fstest.c, fix compile warnings replace sprintf with snprintf
  fstests: t_getcwd.c, fix a warning related to buffer overflow
  fstests: aiodio_sparse2.c, fix compiler warning buffer overflow

 ltp/doio.c                           |  1 +
 src/aio-dio-regress/aiodio_sparse2.c |  1 +
 src/fstest.c                         | 17 +++++++++++++----
 src/t_getcwd.c                       |  4 ++--
 4 files changed, 17 insertions(+), 6 deletions(-)

Comments

Bill O'Donnell Jan. 30, 2023, 8:11 p.m. UTC | #1
On Sun, Jan 29, 2023 at 10:42:29AM +0800, Anand Jain wrote:
> This patch set addresses several compilation warnings and is based on
> the for-next.

Good idea. The warnings have become pretty distracting. Thanks.
For the series...
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>

> 
> Anand Jain (4):
>   fstests: doio.c, fix missing initialization of -C arg
>   fstests: fstest.c, fix compile warnings replace sprintf with snprintf
>   fstests: t_getcwd.c, fix a warning related to buffer overflow
>   fstests: aiodio_sparse2.c, fix compiler warning buffer overflow
> 
>  ltp/doio.c                           |  1 +
>  src/aio-dio-regress/aiodio_sparse2.c |  1 +
>  src/fstest.c                         | 17 +++++++++++++----
>  src/t_getcwd.c                       |  4 ++--
>  4 files changed, 17 insertions(+), 6 deletions(-)
> 
> -- 
> 2.38.1
>