Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fix from Herbert Xu:
"Fix a potential crash in the ccp driver"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: ccp - Ignore unconfigured CCP device on suspend/resume

+8
+8
drivers/crypto/ccp/ccp-dev.c
··· 540 540 unsigned long flags; 541 541 unsigned int i; 542 542 543 + /* If there's no device there's nothing to do */ 544 + if (!ccp) 545 + return 0; 546 + 543 547 spin_lock_irqsave(&ccp->cmd_lock, flags); 544 548 545 549 ccp->suspending = 1; ··· 567 563 struct ccp_device *ccp = sp->ccp_data; 568 564 unsigned long flags; 569 565 unsigned int i; 566 + 567 + /* If there's no device there's nothing to do */ 568 + if (!ccp) 569 + return 0; 570 570 571 571 spin_lock_irqsave(&ccp->cmd_lock, flags); 572 572