Bug 719380 - super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64'
Summary: super-intel.c:2327:4: error: format '%llu' expects argument of type 'long lon...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: rawhide
Hardware: powerpc
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Broz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F16Alphappc
TreeView+ depends on / blocked
 
Reported: 2011-07-06 16:13 UTC by Karsten Hopp
Modified: 2013-03-01 04:10 UTC (History)
4 users (show)

Fixed In Version: mdadm-3.2.2-2.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-06 19:43:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2011-07-06 16:13:53 UTC
Description of problem:
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro -m64 -mminimal-toc -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/dev/md\" -DMAP_FILE=\"md-device-map\" -DMDMON_DIR=\"/dev/md\" -DFAILED_SLOTS_DIR=\"/dev/md/failed-slots\" -DUSE_PTHREADS   -c -o super-intel.o super-intel.c
super-intel.c: In function 'getinfo_super_imsm_volume':
super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' [-Werror=format]
super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format]
cc1: all warnings being treated as errors

Version-Release number of selected component (if applicable):
mdadm-3.2.2-1.fc16

  
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=247592

Comment 1 Milan Broz 2011-07-06 19:01:04 UTC
Interesting, sparc build works:-)
I'll fix it...

Comment 2 Milan Broz 2011-07-06 19:43:59 UTC
Fixed in mdadm-3.2.2-2.fc16
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=247826


Note You need to log in before you can comment on or make changes to this bug.