History

[PATCH] gfp flags annotations - part 1

- added typedef unsigned int __nocast gfp_t; - replaced __nocast uses for gfp flags with gfp_t - it gives exactly the same warnings as far as sparse is concerned, doesn't change generated code (from gcc point of view we replaced unsigned int with typedef) and documents what's going on far better.

Al Viro committed 21 years ago

Commit dd0fc661 parent 3b0e77b145 files · +340 −360Browse files

Showing the changes to include/linux/atmdev.h (1 of 145 files). Show all

Unified · Split

include/linux/atmdev.h+1−1
@@ -467,7 +467,7 @@ static inline void atm_dev_put(struct atm_dev *dev) · 466 unmodified lines
467467
468468 int atm_charge(struct atm_vcc *vcc,int truesize);
469469 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
470− unsigned int __nocast gfp_flags);
470+ gfp_t gfp_flags);
471471 int atm_pcr_goal(struct atm_trafprm *tp);
472472
473473 void vcc_release_async(struct atm_vcc *vcc, int reply);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t