Skip to content

Commit

Permalink
Fix architecture-specific issues not present upstream (openzfs#616)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Dagnelie <[email protected]>
  • Loading branch information
pcd1193182 authored Sep 16, 2022
1 parent 028e6cd commit f00261a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/zfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ zfs_do_file(const char *filename)
int
main(int argc, char **argv)
{
char c;
int c;
while ((c = getopt(argc, argv, "p")) != -1) {
switch (c) {
case 'p':
Expand Down
4 changes: 2 additions & 2 deletions lib/libicp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ nodist_libicp_la_SOURCES = \

if TARGET_CPU_AARCH64
nodist_libicp_la_SOURCES += \
module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S \
module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S
../module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S \
../module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S
endif

if TARGET_CPU_POWERPC
Expand Down
4 changes: 2 additions & 2 deletions lib/libnvpair/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ libnvpair_la_CFLAGS += $(LIBTIRPC_CFLAGS)
libnvpair_la_CFLAGS += -fvisibility=hidden

# wchar_t is undefined-signedness, but we compare to >=0; this warns with unsigned wchar_t
libnvpair_la-libnvpair_json.$(OBJEXT) : CFLAGS += -Wno-type-limits
libnvpair_la-libnvpair_json.l$(OBJEXT): CFLAGS += -Wno-type-limits
%D%/la-libnvpair_json.$(OBJEXT) : CFLAGS += -Wno-type-limits
%D%/la-libnvpair_json.l$(OBJEXT): CFLAGS += -Wno-type-limits

lib_LTLIBRARIES += libnvpair.la
CPPCHECKTARGETS += libnvpair.la
Expand Down

0 comments on commit f00261a

Please sign in to comment.