Bug 719380

Summary: super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64'
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: mdadmAssignee: Milan Broz <mbroz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, dledford, mbroz, pvrabec
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Unspecified   
Whiteboard:
Fixed In Version: mdadm-3.2.2-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-06 19:43:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 718269    

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