Skip to contentSkip to conversation

x86/mce: Make 3 functions non-static

PATCH Tony W Wang-oc 2 participants 2 messages Sep 16, 2019 EDAC-core

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Thomas Gleixner
Quoted 3 lines · Tony W Wang-oc

These functions are declared static and cannot be used in others .c source file. this commit removes the static attribute and adds the declaration to the header for these functions.

I'm not Cc'ed on any patches which use those functions. Please Cc the relevant maintainers on all patches of such a patch series so contect can be seen.

Patches 3/4, 4/4 in this patchsets are using these functions. Specifically, "[PATCH v3 3/4] x86/mce: Add Zhaoxin CMCI support " in this patchsets is using intel_init_cmci(), "[PATCH v3 4/4] x86/mce: Add Zhaoxin LMCE support" is using intel_init_lmce() and intel_clear_lmce().

I had sent all patches in this patchsets to your mailbox. Could you help to check again? Thank you.

Quoted 2 lines

Also adding some hint to the change log which new code will use that would be appreciated.

Got it, will add in next version.

Sincerely
TonyWWang-oc

#1 lore raw
Quoted 12 lines · Tony W Wang-oc
Quoted 10 lines · Thomas Gleixner
Quoted 3 lines · Tony W Wang-oc

These functions are declared static and cannot be used in others .c source file. this commit removes the static attribute and adds the declaration to the header for these functions.

I'm not Cc'ed on any patches which use those functions. Please Cc the relevant maintainers on all patches of such a patch series so contect can be seen.

Quoted 7 lines

Patches 3/4, 4/4 in this patchsets are using these functions. Specifically, "[PATCH v3 3/4] x86/mce: Add Zhaoxin CMCI support " in this patchsets is using intel_init_cmci(), "[PATCH v3 4/4] x86/mce: Add Zhaoxin LMCE support" is using intel_init_lmce() and intel_clear_lmce().

I had sent all patches in this patchsets to your mailbox. Could you help to check again? Thank you.

Found them by now, but please make sure that you provide cover letter [PATCH vX 0/N ] and thread the patches proper so they reference the cover letter. git send-email does that for you.

Thanks,

tglx